Commit fe2a8e3
Fix/ci badges and codecov (#20)
* fix: Update CI badges and improve Codecov integration
- Fix broken badges in README.md by using correct GitHub Actions paths
- Update CI workflow to use Codecov v4.0.1 with proper configuration
- Replace static coverage badge with dynamic Codecov badge
- Add proper repository slug and token configuration for coverage upload
- Remove non-existent workflow badges that were causing 404 errors
This ensures badges display correctly and coverage reporting works properly.
* 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.
* fix: Update README.md with correct CI/CD and Codecov badge URLs
---------
Co-authored-by: rikasai233 <rikasai233@gmail.com>1 parent f5b5b33 commit fe2a8e3
3 files changed
+23
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
| 80 | + | |
81 | 81 | | |
82 | | - | |
83 | | - | |
| 82 | + | |
| 83 | + | |
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
| |||
270 | 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 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
| 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