Skip to content

Latest commit

 

History

History
20 lines (16 loc) · 903 Bytes

File metadata and controls

20 lines (16 loc) · 903 Bytes

Thingifier API unit testing manual

Prerequisites

  1. Node.js & npm
  2. Java (to run the thingifier jar)
  3. (Optional) An IDE with JavaScript compatibility - VSCode is suggested as it is lightweight and provides clear code highlighting for readability

Running the unit test suite

  1. Run npm i to install the dependencies
  2. Run npm run test

Parsing and executing Gherkin scripts with Cucumber

  1. Run npm i to install the dependencies
  2. Run npm run cucumber **NOTE In the case of npm run cucumber not working, simply run npx cucumber-js --order random:<any seed that you want>

Running the performance test suite

  1. Run npm i to install the dependencies
  2. Run npm run dynamic-analysis **NOTE In the case of npm run cucumber not working, simply run npx cucumber-js --order random:<any seed that you want>