Welcher Test‑Typ wofür?
| Was | Test‑Art |
|---|---|
| Pure Funktion (calcTax) | Unit, viele Cases |
| Service mit DB‑Zugriff | Integration mit echter DB (Testcontainer) |
| Login‑Flow im Browser | E2E (Playwright) |
| API‑Endpunkt | Integration / API Test |
| Bezahl‑Flow mit Stripe | Integration + Sandbox‑Account |
| UI‑Komponente | Component Test (Vitest + Testing Library) |
| Performance unter Last | k6 / Locust |
| Microservice‑Verträge | Pact (Contract Tests) |
| Migration‑Sicherheit | Integration mit Production‑like Datenset |
| Test‑Qualität prüfen | Mutation Testing (Stryker) |
Zurück zu Informatik