Versions Compared

Key

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

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

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

...

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

  2. Token: use this token to send a request to Cucumber for Jirain 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.

...