Upload Test to Katalon TestOps via Jest

We can submit results from the Jest test frameworks to Katalon TestOps. An example with the Jest test can be download from here.

On the Visual Studio Code, open a file Jest.

Open file "package.json".

Type the command npm install, press Enter, and wait a few minutes for running.

On the page Katalon TestOps, we do 5 steps as follow:

  • Choose a project, which we want to upload the test results.
  • Click the tab Configurations.
  • Click the tab Framework Integration.
  • On the board Framework Integration, choose the tab Jest.
  • Click the button Copy on the right of the item Install dependency. And now we copied the command line npm i -s @katalon/testops-jest.

On the Visual Studio Code, file "package.json", right-click for pasting the command npm i -s @katalon/testops-jest and press Enter. And we wait a few minutes for running.

Create two new files with the name "testops-config.json" and "jest.config.js".

On the page Katalon TestOps, we click the button Copy on the right of the item Base of Configure.

On the Visual Studio Code, open file "testops-config.json ", paste the terms which we have just copied from Katalon TestOps. We save this file.

On the page Katalon TestOps, we click the button Copy on the right of the item Add Report of Configure.

On the Visual Studio Code, open file "jest.config.js", paste the terms which we have just copied from Katalon TestOps. We save this file.

On the Visual Studio Code, type the command npx jest, press Enter, and wait a few minutes for running.

On the Test Planning of Katalon TestOps, the Test Run was uploaded.

Feedback