JUnit Integration
If you use JUnit for your testing, complete the following two steps.
First, add the dependency to get access to the JUnit listener and the annotations to your pom.xml
file.
Next, register the Zephyr Scale JUnit Listener. This listener generates the correct JSON output file needed for uploading to Zephyr Scale.
This enables you to annotate your JUnit tests with a Zephyr Scale key or name, which then generates a custom report when you run the tests.
To send these results to Jira, use the script provided here.
Alternatively, if you use our Jenkins plugin, you can create a task to do this for you. A task and a script is also required if using other CI tools.
Tip
Want to know more about annotating JUnit tests and testing locally? We got you.