Skip to content

Releases: bvanderlaan/api-bench-runner

v1.1.0

23 Nov 15:17

Choose a tag to compare

Add support for the --setup flag.

You can now tell api-bench-runner where to local the global setup script via the --setup flag if you choose to have a different folder structure. By default it will look for the setup.js script under the bench folder of the current working directory. If you choose a different convention you can use the --setup flag to explicitly select your setup script.

├── test
│   ├── nested-test-example.bench.js
│   └── simple-test-example.bench.js
├── setup.js
└── lib
    └── server.js

Given the above structure you can execute the following command to find all the right scripts:

> node_modules/.bin/api-bench-runner ./test/*.bench.js --setup ./setup.js

v1.0.0

23 Nov 14:06

Choose a tag to compare

Initial release of the tool

  • Supports Terminal output
  • Supports HTML Report output