Versions Compared

Key

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

...

The working unit of InSpec is a profile that provides a versioned structure containing checks (i.e. tests); related checks are grouped in "control" blocks. Control is similar to having an a high-level rule composed of multiple checks.

...

After successfully running the Test Case and generating the JUnit XML report (e.g., junit.xml), it can be imported to Xray (either by the REST API or by using one of the available CI addons or even through Import Execution Results action within the Test Execution).

...

Each check is mapped to a Generic Test in Jira, and the Generic Test Definition field contains the name of the profile followed by the name of the control and the value of the metadata defined using the "desc" attribute within the "control" some text derived from the assertion being done in the describe and inner it block.

The Context section contains information about the profile name. 


Tips

It may be useful to have a Test Plan with all these checks organized hierarchically, so you can track compliance at multiple levels.

  1. create an empty Test Plan
  2. import the results, so you'll have a Test Execution
  3. go to the Test Plan issue screen and add the Test Execution
  4. organize the Tests within the Test Plan Board

Image Added



Info
titleLearn more

To organize the Tests in the Board of the Test Plan, you may use filters based on the Generic Test Definition field, filtering by the name of the profile plus the name of the control.

Image Added


Then you can easily move the Tests that matter to the folder that you want.


References

...