Skip to content

fix/ci-badges-and-codecov#21

Merged
lihuacai168 merged 3 commits intomasterfrom
fix/ci-badges-and-codecov
Aug 4, 2025
Merged

fix/ci-badges-and-codecov#21
lihuacai168 merged 3 commits intomasterfrom
fix/ci-badges-and-codecov

Conversation

@lihuacai168
Copy link
Owner

No description provided.

- 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.
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.
@lihuacai168 lihuacai168 merged commit fbe7585 into master Aug 4, 2025
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants