This demo tests a dummy NodeJS-based Web API written with Swagger with Gauge, using the JavaScript language runner.
- Install Gauge.
- Install NodeJS.
- Install Swagger:
$ sudo npm install -g swagger
- Install Gauge JS runner:
$ gauge install js
- In the project root directory, run:
$ npm install
$ npm start
: Start the Swagger API server.$ npm test
: While the server is running, run Gauge tests (in another terminal).