Integrationstests (EN)

Term

Tests to verify the interaction between multiple components

Integrationstests

Integration tests are the middle layer of the test pyramid and verify the correct collaboration of different software components or modules. Unlike unit tests, they don't test isolated units but their interaction and the interfaces between them. These tests reveal errors not visible at the unit level, such as problems in database communication or API calls.

Architecture

flowchart TD     A[Benutzeroberfläche] --> B[API Gateway]     B --> C[Service 1]     B --> D[Service 2]     C --> E[Datenbank 1]     D --> F[Datenbank 2]     C --> G[Externe API]     D --> G 

Im Kontext

  • Wird typischerweise zusammen mit Unit-Tests und Systemtests verwendet
  • Verwandt zu: Unit-Tests, Systemtests, End-to-End-Tests
  • Beispiel-Einsatz: Testen der Kommunikation zwischen Frontend und Backend
Quelle: AI Generated