Skip to content

Latest commit

 

History

History
17 lines (10 loc) · 1001 Bytes

File metadata and controls

17 lines (10 loc) · 1001 Bytes

Testing APIs With Ease Using TestCafe

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.

Running the tests

  • 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.

About Dev Tester

Dev Tester

Dev Tester is a blog containing weekly articles and videos about automated testing and test automation to help you become a better tester.