Skip to content

Demonstration on building fast and maintainable API tests using SuperTest, Mocha, and Chai.

License

Notifications You must be signed in to change notification settings

dennmart/dead_simple_api_testing

Repository files navigation

Dead-Simple API Tests With SuperTest, Mocha, and Chai

This repository is a demonstration on building fast and maintainable API tests using SuperTest, Mocha, and Chai. 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 all dependencies.
  • 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.

About

Demonstration on building fast and maintainable API tests using SuperTest, Mocha, and Chai.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published