Skip to main content

Upload test reports from Jasmine to Katalon TestOps

You can submit test results from the Jasmine framework to Katalon TestOps.

You can download this sample project: Katalon TestOps JavaScript Reporters.

Follow these steps:

  1. Open your Jasmine file in a source-code editor, such as Visual Studio Code.

    open jasmine in vsc

  2. Open the package.json file.

    open json file

  3. Type the npm install command, then press Enter and wait for it to run.

    install npm

    While waiting, go to the Katalon TestOps website.

  4. Sign in to Katalon TestOps and go to your Project.

  5. Go to Configurations > Integrations.

    The Integrations page appears.

  6. Select Jasmine in the dropdown list.

    The Jasmine page appears as below.

    jasmine page 1

    jasmine page 2

  7. Copy the command line in the Install dependency section and paste it in the package.json file in your source-code editor, then press Enter to run.

    install dependency command

  8. Create a new file named testops-config.json in your source-code editor.

    create json file

  9. Copy the content in the Configure TestOps plugin section in Katalon TestOps and paste it in the newly-created testops-config.json file in your source-code editor. Save this file.

    configure testops in vsc

  10. Create a new file called setup.js in the test folder (the ./tests/setup.js file) in your source-code editor.

  11. Copy the command in the Add Report section in Katalon TestOps and paste it in the ./tests/setup.js file. Save this file.

    set up testops

  12. Copy the command in the Run tests and upload reports section in Katalon TestOps and paste it in your source-code editor, then press Enter to run.

    upload via Jasmine

  13. Type the npm test command, press Enter to run in your source-code editor.

    test via Jasmine

    You have run tests and uploaded their reports via Jasmine.

  14. Go to Test Execution > Test Run Calendar.

    Your uploaded Test Runs now display here.