0.3.2 • Published 2 years ago
codeceptjs-testit-reporter v0.3.2
codeceptjs-testit-reporter
Plugin for sending CodeceptJS test run reports to TestIT
Installation
Add codeceptjs-testit-reporter package to your project
npm i codeceptjs-testit-reporterUsage
- Get TestIT configuration params
url— location of the TestIT instanceconfigurationId— UUID of configuration in instanceprivateToken— API secret key (can be found at/user-profilepath 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 outputnamespace— optional TestIT namespace to display in test run names and as parent folder in autotests tab
- 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",
}
}- Run tests