newman-reporter-testomatio
v0.2.8
Published
Newman adapter (custom reporter) for testomatio/reporter
Downloads
489
Readme
NEWMAN-REPORTER-TESTOMATIO
This package is adapter for @testomatio/reporter.
Usage
Add as dependency:
npm i newman-reporter-testomatio
Note:newman
andnewman-reporter-testomatio
should be installed in the same directory.
If you run your tests using globally installed newman (newman run ...
), intallnewman-reporter-testomatio
globally too (npm i newman-reporter-testomatio -g
).
If you use locally installed newman (within the project) (npx newman run ...
), installnewman-reporter-testomatio
locally (npm i newman-reporter-testomatio
). You can verify installed packages vianpm list
ornpm list -g
.Run collection and specify
testomatio
as reporter:TESTOMATIO=<token> npx newman run <collection_name> -r testomatio
Publishing
npm publish
or
- Build .js files:
tsc
- Publish:
npm publish
Install as local package
Build local package:
tsc && npm pack
Install:
npm i <path to generated .tgz file>
Development
! This package does not work if chalk
is used.