@justiceo/fest
v0.1.1
Published
Fetch-inspired declarative API testing framework
Maintainers
Readme
Fest
A fetch-inpsired declarative API testing frameowork
This is a framework for running end-to-end API tests in a declarative way.
Development
Install dependencies and run the CLI tests:
npm install
npm testThe source code lives in src/ and is bundled with esbuild into the dist/ directory. The helpers can be imported separately via fest/helpers without pulling in the CLI itself.
Controlling request rate
To avoid overwhelming your server during test runs, Fest supports a requests per second (rps) option. Set rps in fest.config.js or pass --rps=<number> on the command line. A simple token bucket limiter ensures that no more than the configured number of requests are sent each second.
