teixeira-fernando / supertest-architecture

Architecture setup for API tests using SuperTest

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Integration tests with SuperTest

Stack:

  • NPM
  • Babel (to include ES6 support)
  • Jest
  • Eslint
  • Super Test (API Tests framwork)
  • Dotenv (For environment variables setup)

Important

Before running the tests, check the .env file to make sure that the config is adjusted for the environment that you want to run the tests

Scripts:

  • Run tests: npm tests
  • Check code format: npm run lint
  • Fix code issues: npm run lint:fix

About

Architecture setup for API tests using SuperTest


Languages

Language:JavaScript 98.6%Language:Shell 1.4%