Integration Test

noun

say it: “in-tih-GRAY-shun TEST” /ˌɪntɪˈɡreɪʃən tɛst/

A test that checks several parts working together for real, such as an API route with a real database.

What is Integration Test?

An integration test checks that several parts work together for real, like an API endpoint with a real database.

In a sentence

  • “Supertest and a test database make a good integration test for an API.”
  • “The integration test calls POST /workouts and finds the workout in the test database.”

Level: Apprentice · More Unit Testing terms at this level

Updated