New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

newman-reporter-qase

Package Overview
Dependencies
Maintainers
0
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

newman-reporter-qase

Qase TMS Newman Reporter

2.0.4
latest
Source
npm
Version published
Weekly downloads
382
30.82%
Maintainers
0
Weekly downloads
 
Created
Source

Qase TMS Newman reporter

Publish results simple and easy.

To install the latest version, run:

npm install newman-reporter-qase

Example of usage

Define in tests

The Newman reporter has the ability to auto-generate test cases and suites from your test data.

But if necessary, you can independently register the ID of already existing test cases from TMS before the executing tests. Example:

//qase: 10
// Qase: 1, 2, 3
// qase: 4 5 6 14
pm.test('expect response be 200', function() {
  pm.response.to.be.info
})

Execute rom CLI:

QASE_MODE=testops newman run ./sample-collection.json -r qase

A test run will be performed and available at:

https://app.qase.io/run/QASE_PROJECT_CODE

You can find more information about using the reporter here.

Configuration

Qase Newman reporter can be configured in multiple ways:

  • using a separate config file qase.config.json,
  • using environment variables (they override the values from the configuration files).

For a full list of configuration options, see the Configuration reference.

Example qase.config.json config:

{
  "mode": "testops",
  "debug": true,
  "testops": {
    "api": {
      "token": "api_key"
    },
    "project": "project_code",
    "run": {
      "complete": true
    }
  }
}

Requirements

We maintain the reporter on LTS versions of Node. You can find the current versions by following the link

newman >= 5.3.0

FAQs

Package last updated on 26 Nov 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts