jasmine-atm-reporter
v1.0.2
Published
npm module for jest-puppeteer to upload result in atm
Downloads
2
Readme
Jasmine-Atm-Reporter:
This is jasmine atm reporter plugin for puppeteer.
Install:
npm install jasmine-atm-reporter
Environment Variables:
Set following environment variables on your machine:
BASE_URL = baseurl (e.g. --> jira.abcdef.com)
USERNAME = username
PASSWORD = password
PROJECT_KEY = XYZ
TEST_PLAN_KEY = ABC
TEST_CYCLE_ID = OPQ
Note: In case you want to create TEST_CYCLE_ID for every run then remove entry for TEST_CYCLE_ID from enviornment variable and it will create a new test cycle which is linked to the TEST_PLAN_KEY.
Set following in package.json for using the jasmine-atm-reporter:
"jest": {
"verbose": true,
"reporters": [
"jasmine-atm-reporter"
]
},
Usage:
beforeAll(async () => {
reporter.setTestCaseID('TestCaseID');
reporter.setEnvironment('TestEnvironment');
});