Testing is the process of evaluating software to ensure it functions correctly, reliably, and as intended. It includes different testing levels such as unit testing, integration testing, and end-to-end (E2E) testing.
Tests individual functions or components in isolation.
Key traits:
Verifies how multiple modules interact and exchange data.
Key traits:
Validates full user workflows across the entire system.
Key traits:
A login feature may go through:
| Level | What It Tests |
|---|---|
| Unit Test | Validates the login function logic |
| Integration Test | Verifies the login API works with the authentication system |
| E2E Test | Ensures a real user can log in, access the dashboard, and log out |