Description
Tests for malformed lcov files exist in the generate-coverage test suite, but similar coverage for Cobertura XML is missing. Adding tests for cases like missing elements or invalid XML structure would improve error handling in the Cobertura parser.
Current State
- ✅ Tests exist for malformed lcov files (e.g.,
test_lcov_malformed_file)
- ❌ No equivalent tests for malformed Cobertura XML files
Suggested Tests
- Invalid XML structure
- Missing required elements
- Malformed attributes
- Empty or corrupted XML content
References
Requested by: @leynos
Description
Tests for malformed lcov files exist in the generate-coverage test suite, but similar coverage for Cobertura XML is missing. Adding tests for cases like missing elements or invalid XML structure would improve error handling in the Cobertura parser.
Current State
test_lcov_malformed_file)Suggested Tests
References
Requested by: @leynos