Allure TestOps - export test results to Github

Export test results to Github

Prepare Github credentials and IssueTracker

  1. Create a credential for Github under Administration area in Allure TestOps.

    1. Use basic type and username/password from Github account. (You cannot use it after November 13, 2020 https://developer.github.com/changes/2020-02-14-deprecating-password-auth/ ).
    2. Create a token https://github.com/settings/tokens use type token in this case.
  2. Create an issue tracker for github. Use github rest api for url property. For example: https://api.github.com Use github type and check properties for Sync and Export. Use Test Connection to check a connection.

  1. Open Launches menu area

  2. Select Export to issue on the left side menu

    Launch menu

  3. Select Github issue tracker created before

  4. Type issue key and select a create option or choose the existing one from the suggested list

    For the integration with Github the following issue key format can be used: <owner>/<repository>/<number>

    • owner - this can either be the username or organization name.
    • repository - repository name.
    • number - the issue or pull request id
  5. Select required amount of issues

    Export to issue popup

  6. Push Submit button

See the results

  1. Open required object on Github server (issue/pull request)

  2. You will see the following comment

    Github comment

To provide a link on launch name the environment variable
`ENDPOINT` required on Allure TestOps side.