Jest Website

How it works

Upload your tests results to Testuff, all at once, saving you time and money. We made this integration simple, leaving all the annoying tasks to Testuff.

JavaScript Jest with NPM

Attached is a sample of a few JavaScript tests ready for jest in the NPM environment

You can use the below code to set your npm environment

Creating the XML output file and uploading it to Testuff:

  • run npm test
  • curl -k -X POST -F “file=@test-reports/jest-junit.xml” https://servicex.testuff.com/client_api/v0/testcase/[TOKEN]?branch=[BRANCH_ID]

Notes:
Reporting to Testuff is protected Via HTTP POST over SSL, and your Testuff user TOKEN is used for identification.

* You’ll find your Testuff server number under the Settings->Company Details, and your user Token under the User settings.
* In this sample, the output file will be “test-reports/jest-junit.xml”

Copy to Clipboard
Copy to Clipboard