Skip to content

Latest commit

 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Stars

5 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages