Commit b6f9482
committed
feat: Merge unit tests with integration tests for comprehensive coverage
Test Suite Enhancement:
- Combine unit tests (47 functions) with integration tests (19 functions)
- Run comprehensive test suite in CI containers for better coverage
- Include all test files except test_integration_execute.py and test_performance_execute.py
Coverage Improvements:
- Expected significant coverage increase from combined test execution
- Unit tests cover: API endpoints, security, file handling, JMeter execution
- Integration tests provide: real workflow validation, container environment testing
CI Workflow Updates:
- Rename "Simplified CI Integration Tests" to "Comprehensive Test Suite"
- Keep single unit test step for documentation but mark as included
- Maintain same coverage extraction and upload process
- Reduce overall CI time by eliminating redundant test environment setup
Test Coverage Breakdown:
• test_execute_api.py: 17 tests (JMeter execution core functionality)
• test_api_enhanced.py: 14 tests (complete workflow integration)
• test_security.py: 9 tests (security mechanisms)
• test_api.py: 7 tests (basic API endpoints)
• Total: ~47 unit tests + 19 integration tests = 66+ tests
This change should significantly improve coverage from the previous 19%
by including comprehensive unit test coverage alongside integration testing.1 parent ff6c1da commit b6f9482
2 files changed
+21
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
| 80 | + | |
81 | 81 | | |
82 | | - | |
| 82 | + | |
| 83 | + | |
83 | 84 | | |
84 | 85 | | |
85 | 86 | | |
| |||
270 | 271 | | |
271 | 272 | | |
272 | 273 | | |
273 | | - | |
| 274 | + | |
274 | 275 | | |
275 | 276 | | |
276 | 277 | | |
277 | 278 | | |
278 | | - | |
| 279 | + | |
279 | 280 | | |
280 | | - | |
| 281 | + | |
281 | 282 | | |
282 | 283 | | |
283 | 284 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
115 | | - | |
116 | | - | |
117 | | - | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
118 | 130 | | |
119 | 131 | | |
0 commit comments