raml-test
v1.0.0
Published
Automated test code generator for RAML specifications
Downloads
5
Readme
RAML-Test
This utility is used to generate tests based on a RAML 1.0 specification.
Features
####Installation
npm install raml-test
# Note, you will need to be authenticated with Artifactory to pull this package.
# For more information: https://sadasystems.atlassian.net/wiki/display/ATM/Artifactory+for+Atom
####Usage
# Generate and run tests against a RAML specification
raml-test my-awesome-api.raml
####Development
Start with:
npm install
Running tests:
npm run test
# Run test with coverage. The coverage report by default is configured for lcov and can be located in the `./coverage` directory.
npm run test:cover
Building the application:
The resulting source code is built to a ./dist
directory which is where the transpiled source resides. By default the test files are not built to this directory, only the underlying source.
Command:
npm run build