Versions Compared

Key

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

...

Xray does not enforce any constraint on the Generic Test Definition field, so it is optional and you may use it as an additional field for quickly identifying what this test is all about.


Table of Contents

How to use Generic Tests

Automatic provisioning



  1. Implement the automated test code, store it in the source control system, and put the reference to the Test in Jira (i.e., the issue key).
    1. This depends on the testing framework: it can be as a "tag" or as the test name, if the framework supports that.
  2. Execute tests in the CI environment.
  3. Report execution results using the format specific to the automation framewoek (either using the REST API directly or through Bamboo/Jenkins add-ons).
    1. Tests will be automaticaly created in Xray and the Generic Test Definition field will act as the test identifier (e.g. classname plus classmethod corresponding to automated test). Xray is able to u
    2. Depending on the test automation framework being used, links can also be automaticaly created between the Tests and the requirements

Manual provisioning

The JUnit integration (see details in Taking advantage of JUnit XML reports) is a good example of how Generic Tests may be used as an abstraction of automated tests, regardless of the testing framework and the technologies/platforms used.

...