UNPKG

jasmine-atm-reporter

Version:

npm module for jest-puppeteer to upload result in atm

36 lines (31 loc) 886 B
### 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'); }); ```