Create a test run for your external tests

You can now use Hiptest to manage the test results for tests that were not written in Hiptest (for example your Unit tests).

There are some few prerequisites for that:

  • Your tests must produce a report supported by Hiptest: jUnit XML, NUnit XML TAP format, Robot Framework, MsTest and Android studio are the ones currently supported.
  • You need the cURL tool installed on the machine you use to run the tests.

Step 1 – Create an external test run

Go to the test runs page and create a test run dedicated to your test suite. On the screen, select the last option to make this test run dedicated to external test results.

Create a Hiptest test

Step 2 – Integrate with your CI tool

Once the test run is created, you will see a “Push results” button in the “… Plus” menu, clicking it will show the needed commands to push the results:

Opening the plus Hiptest menu

In the menu, once you select the test results format, you will obtain the command line you need to use to push the results:

Note: the “clipboard” icon next to the command line will copy the command line to your clipboard.

Copy and paste the command line to your continuous integration tool post task. Here is an example with Travis-CI integration:


language: node_js
sudo: false

script:
  - grunt qunit_junit qunit

after_script:
  - curl -X POST -F file=@results.xml https://hiptest.net/import_test_reports/$SECRET_TOKEN/105/junit

And now you’re all set. Next time the CI task is ran and the test results will be uploaded to Hiptest.

Download the ebook

This field is required

This field is required

Please enter a valid email address

Thank you, the ebook has been sent to your mailbox

Hiptest is FREE for open source projects

We actually utilize a number of open source components, which is why Hiptest service is free for any open source project. We are giving back to the community!

Your open source project must meet the following criteria to be approved:

  • Your project is licensed under a license approved by the Open Source Initiative
  • Your project source code is available for download
  • Your project has a publicly accessible website

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close