Test Using JUnit
JUnit is a simple framework for writing repeatable tests. It is an instance of the xUnit architecture for unit testing frameworks.
Automation Hierarchy
Automation Hierarchy | Test Cycle | Test Case | Test Step |
|---|---|---|---|
1 (Default) | NA | testsuite> name Or testcase > classname | testcase name |
2 | testsuite > name If there are multiple test suites in the result file then multiple test cycles will be created based on the suite name. If the testsuite name is not there in the file, it will take classname as test cycle name. The parameter Test Cycle to Reuse will be ignored in the Automation. | testcase name | NA |
3 | The test cycle name will be created as per the Summary passed by the user. In the absence of the Summary, the test cycle name will be auto-generated. If there are multiple suites in the result file then only a single cycle will be created. If the value is provided for the Test Cycle to Reuse parameter, then the suite name in the files will be ignored. All the test case results for all suites and files will be uplaoded in a single cycle similar to Hierarchy 1 (default). | testcase name | NA |
Note
If the Test Name or Test Suite Name length is more than 255 characters, the name will be truncated.
Supported Version: 1.2.5
Supported file types: XML
Sample Test Result File
The following is a screenshot of the file.

Click JUnit.xml to download the Sample Test Result File.
Test Case Reusability
Keyword | Download Sample File | Description |
|---|---|---|
testcasekey | While importing the test result file, if you want to reuse the test case then it is possible.
When the Test Cycle is not been Reused Create/Reuse a test case with a summary or test case key that exactly matches the automated test case uploaded through the result file, and exclude matching of test steps. The execution results of the test case will be imported or calculated based on the test case/step results from the automation result file. The execution result of the test case will be propagated to the test steps in the case of test case reuse/creation. Individual test case steps will not be matched and their execution results/details will not be picked from the result file. When the Test Cycle is been Reused
|
Link Requirements to Test Case
Keyword | Download Sample File | Description |
storykey |
|