-
Notifications
You must be signed in to change notification settings - Fork 80
Steps To Add TestSuite
This document provides steps to add and Run the Test Suite in BusinessWorks 6.6.1 with BW Maven Plugin 2.7.0. The Test Suite feature provides functionality to run set of test cases while running the "test" goal.
• Apche Maven: https://maven.apache.org/download.cgi
• BusinessWorks Installer BW 6.6.1 /BWCE 2.5.3
• BusinessWorks Maven Plugin 2.7.0 – https://github.com/TIBCOSoftware/bw6-plugin-maven/releases
This section assumes you have already added the unit testing for the BW Project in BusinessWorks. Please refer "Adding Unit Tests Assertions" section from https://github.com/TIBCOSoftware/bw6-plugin-maven/wiki/UnitTesting to add unit test to BW Project.
-
Right click on the "Test" Folder and select "New -> Add Test Suite" option.
-
Provide the name in "Test Suite Name" field in "Test Suite" Wizard.Click "Finish". This Will add Test Suite Editor.
-
Open the "Test Suite" Editor
-
To add Test Cases, Click on "Add" button. Select the test case which you want to add in Test Suite.Click "Ok". User can select multiple test cases by clicking the Ctrl+select key.
-
To remove the test case, select the test case and click on "Remove" button.
-
To run the Test Suite, use property "testSuiteName" to pass the test suite name while running the "test" goal.
Command -
test -DtestSuiteName=<Test Suite Name>
Example -
test -DtestSuiteName=ActivityAssertionTestSuite.bwts
User can Run mutiple test suite in sequence by proving the Test Suite names seperate by "/".
Command :test -DtestSuiteName=<Test Suite Name 1>/<Test Suite Name 2>
Example :test -DtestSuiteName=ActivityAssertionTestSuite.bwts/FaultTestSuite.bwts
Getting started
- Steps to Mavenize BW Application
- Building applications for BWCE
- EAR deployment with Config File
- Shared Modules with Maven
- Add Process Diagram in EAR
- BW Design Utility Goals
- CI/CD using Jenkins
- Custom XPath Function
- Deploy Shared Module on Remote Repository
- TCI Deployment using Maven Plugin
Unit Testing
- Primitive Assertion
- Activity Assertion
- Activity Assertion with Gold Input File
- Mock Output
- Mock Fault
- Test Suite
- Plugin Properties
Help & Contribute