Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In this tutorial, we will create an Java aJava Test class with multiple Test Cases, implemented in Java.

The tutorial shows two different approaches for providing additional meta-information for each Test method, one of them will require developing specific code for extending TestNG.

Description

The test case validates a Calculator class and exploits some TestNG features such as the ability of validating the same Test against multiple input values, and also the possibility of linking Tests with requirements in Jira using NUnit's Test attributes.

...

After successfully running the Test Case tests and generating the NUnit TestNG XML report (e.g., TestResult.xml??), it can be imported to Xray (either by the REST API or through the Import Execution Results action within the Test Execution).

...