Automate test results push

You can manually upload a JSON test results file, but you can also automate the test results update via a Continuous Integration (CI) server. All you need to do is add a command line (see bellow) to the CI server configuration to automatically send the test results to Jira.

First, click on the menu in the top right corner of the main living documentation page:

 

The following informations will be available:

  1. Curl command: a ready-to-use inline command. Add this command line to the CI configuration.

  2. Token: use this token in case the Curl command does not work and another tool should be used.

Note: The curl command assumes that the test results file is named results.json. Ruby, Java and Javascript are supported. If you need more languages, feel free to ask on our public issue tracker. Please adapt the command by selecting the language using the menu or changing the results file name if needed. It’s really important to not remove the '@' when file name is changed except for a good reason.

When the file is uploaded, the living documentation will be automatically updated with the test results.

Next