Commit bfb3973
committed
Add comprehensive API tests for health, performance, projects, search, specs, stats, and validation endpoints
- Implement health endpoint tests to verify connectivity and response structure.
- Create performance tests to measure response times and handle concurrent requests.
- Develop project management tests covering CRUD operations and schema validation.
- Add search endpoint tests to validate query handling and filtering capabilities.
- Implement specs endpoint tests to ensure correct retrieval and filtering of specs.
- Create stats endpoint tests to validate response structure and data integrity.
- Add validation endpoint tests to check schema compliance and error handling.
- Introduce custom assertion utilities for improved test readability and maintainability.
- Configure TypeScript and Vitest for the test suite.1 parent cde5eef commit bfb3973
File tree
34 files changed
+111
-40
lines changed- packages/http-server
- specs/194-api-contract-test-suite
- tests/api
- src
- client
- fixtures
- schemas
- tests
- utils
34 files changed
+111
-40
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
42 | 43 | | |
43 | 44 | | |
44 | 45 | | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
45 | 49 | | |
46 | 50 | | |
0 commit comments