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

cypress-qase-reporter

Package Overview
Dependencies
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cypress-qase-reporter

Qase TMS Cypress Reporter

1.0.0
Source
npm
Version published
Weekly downloads
9.6K
10.42%
Maintainers
1
Weekly downloads
 
Created
Source

Qase TMS Cypress Reporter

License

Installation

npm install cypress-qase-reporter

Configuration

cypress.json configuration:

{
    "reporter": "cypress-qase-reporter",
    "reporterOptions": {
        "apiToken": "578e3b73a34f06e84eafea103cd44dc24253b2c5",
        "projectCode": "PRJCODE",
        "runId": 45,
        "logging": true  # Show debug logs for run
    }
}

ENV variables:

QASE_REPORT=1 - enable qase reporter
QASE_RUN_ID=45 - override runId from ENV

Using Reporter

If you want to decorate come test with Qase Case ID you could use qase function:

import { qase } from 'cypress-qase-reporter/dist/mocha';

describe('My First Test', () => {
    qase(3,
        it('Correct test', () => {
            expect(true).to.equal(true);
        })
    );
    qase(4,
        it.skip('Skipped test', () => {
            expect(true).to.equal(true);
        })
    );
    );
    qase(5,
        it('Failed test', () => {
            expect(true).to.equal(false);
        })
    );
});

Running Qase Reporter

To start cypress run with qase reporter run it like this:

QASE_REPORT=1 npx cypress run

Reporter in console

FAQs

Package last updated on 04 Jul 2020

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