/node-integration-testing

🧪 Example for Easy and Effective Integration Testing with Node.js and Docker

Primary LanguageTypeScript


Integration Testing

Example for Easy and Effective Integration Testing with Node.js and Testcontainers

Watch the YouTube Tutorial

Usage

Recommended OS: Linux

Requirements: Yarn, Node.js

Optional: Docker, Docker Compose

Setup

  • yarn install

Development

  • make dev or yarn dev (Start development backend services, http://localhost:3000)
  • make test or yarn test (Run integration tests)
  • <F5> (Start test for current file, you can also set debug breakpoints)

Codebase

Credits

Icons made by Freepik from www.flaticon.com