Test using JUnit


Introduction

JUnit is a simple framework to write repeatable tests. It is an instance of the xUnit architecture for unit testing frameworks.

Test CaseTest Step

testsuite> name

Or

testcase > classname

testcase name

Supported Version: 1.2.5

Supported file types : XML

Sample Test Result File

The following is the screenshot of the file. Click here to download the Sample Test Result File.

Test Case Reusability

While importing test result file, if you want us to reuse Test Case then it is possible.

  1. If Test case summary and Test step summary (for all steps) matches with the automated Test case name ( testcase classname) and steps (testcase name), Test case key and version will be reused.
  2. If Test case summary matches and Test step summary do not match (for any of the steps) with the automated Test case ( testcase classname), Test case key will be reused but new version will be created.
  3. If Test case summary does not match, new Test case will be created.