Plugin for sending CodeceptJS test run reports to TestIT
npm install codeceptjs-testit-reporterPlugin for sending CodeceptJS test run reports to TestIT
Add codeceptjs-testit-reporter package to your project
```
npm i codeceptjs-testit-reporter
1. Get TestIT configuration params
- url — location of the TestIT instanceconfigurationId
- — UUID of configuration in instanceprivateToken
- — API secret key (can be found at /user-profile path of instance)projectId
- — UUID of project in instanceglobalProjectId
- — optional global project ID, set it if you want to see link to test run in CodeceptJS output namespace
- — optional TestIT namespace to display in test run names and as parent folder in autotests tab
2. Add plugin to codecept.conf.js
```
plugins: {
testit: {
require: "codeceptjs-testit-reporter",
enabled: true,
url: "https://testit-instance-location.com",
configurationId: "00000000-0000-0000-0000-000000000000",
privateToken: "53cr37_1<3Y",
projectId: "11111111-1111-1111-1111-111111111111",
globalProjectId: "10101",
namespace: "E2E",
}
}
3. Run tests