Regression Test Suite
What tests and endpoints are included?
Objective
Verify the main functionality of the User Management API.
API version: 1.0.0
Included test cases
| Test case | Endpoint | Priority |
|---|---|---|
| TC-USER-001: Create a user with valid data | POST /users | ... |
| TC-USER-002: Create a user without name | POST /users | ... |
| TC-USER-003: Create a user without email | POST /users | ... |
| TC-USER-004: Create a user with an invalid email | POST /users | ... |
| TC-USER-005: Create a user with an empty name | POST /users | ... |
| TC-USER-006: Update a user name | PUT /users/123 | ... |
| TC-USER-007: Update a user email | PUT /users/123 | ... |
| TC-USER-008: Update a user with invalid email | PUT /users/123 | ... |
| TC-USER-009: Update a non-existing user | PUT /users/999999 | ... |
| TTC-USER-010: Update a user with an empty request body | PUT /users/123 | ... |
| TC-USER-011: Retrieve the list of users | GET /users | ... |
| TC-USER-012: Retrieve an empty user list | GET /users | ... |
| TC-USER-013: Retrieve an existing user | GET /users/123 | ... |
| TC-USER-014: Retrieve a non-existing user | GET /users/999999 | ... |
| TC-USER-015: Retrieve a user with an empty ID | GET /users | ... |
| TC-USER-016: Delete an existing user | DELETE /users/123 | ... |
| TTC-USER-017: Delete a non-existing user | DELETE /users/999999 | ... |
| TC-USER-018: Delete the same user twice | DELETE /users/123 | High |
Coverage
| Endpoint | Test cases covered |
|---|---|
POST /users | 5 |
PUT /users/\{id\} | 5 |
GET /users | 2 |
GET /users/\{id\} | 3 |
DELETE /users/\{id\} | 3 |
| Total | 18 |