JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q65305F
  • License MIT

Test framework for automating rest api & typescript!

Package Exports

  • @krisinc/node-rest-assured

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@krisinc/node-rest-assured) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Node-Rest-Assured

It supports API automation like RestAssure , Extra feature ,Chai asserts supported implicitly for json response validations

Installation

First, make sure you are logged-in to the private NPM registry:

Then install the dependency packages:

npm install

Building the component library

First, make sure you've followed the instructions in the Installation section so you're logged into the private NPM registry and have installed dependency packages.

Then, to build the component library:

$ npm run build

You can then also run tests and coverage:

$ npm run test
$ npm run test:ci

Debugging

To setup a mocha test configuration in WebStorm, do the following:

  1. Open the project in WebStorm.
  2. At the top right of the project window, choose Edit Configurations....
  3. Click the "+" symbol to add a new configuration, and choose Mocha.
  4. Select the appropriate node interpreter. If using NVM, this should be something like, ~/.nvm/versions/node/v10.15.0/bin/node.
  5. Make sure the project root is set as the working directory.
  6. Set Extra Mocha Options to --no-opts --no-config (defensive - to ensure use of only package.json options).
  7. Set Test file patterns to test-js/**/*.spec.js.
  8. Save the configuration, then run or debug.

Publishing changes

To publish a new version to the NPM registry:

License

Please see LICENSE.md.