This repository is a demonstration on building fast and maintainable API tests using TestCafe. The examples in this repo are explained in detail in the Dev Tester blog.
To run the tests, you first need an account at Airport Gap, an application built to help you improve your test automation skills. After signing up, you'll receive an API token to access the endpoints requiring authentication.
- Run
npm install
to set up TestCafe. - Set up your Airport Gap API token as an environment variable called
AIRPORT_GAP_TOKEN
. - Execute the test suite with
npm test
.
Dev Tester is a blog containing weekly articles and videos about automated testing and test automation to help you become a better tester.