docs: Add comprehensive test coverage analysis - #31
Merged
Merged
Conversation
Analyze existing test coverage and identify gaps including: - DWG file reading (zero coverage for major feature) - Dimension entities (7 types completely untested) - Leader and Hatch entities - Entity attribute verification (color, layer, lineweight) - Table objects (DimStyle, TextStyle, Vport) - Header variable validation - Character encoding handling Provides prioritized recommendations and estimated effort for improving test coverage.
…utes Add new test files to improve test coverage: - test_dimensions.cpp: Tests for all 7 dimension types (Aligned, Linear, Radial, Diametric, Angular, Angular3P, Ordinate) - test_annotations.cpp: Tests for Leader and Hatch entities including solid hatches, pattern hatches, and arc boundaries - test_attributes.cpp: Tests for entity attributes including color, layer assignment, line weight, line type, coordinates, and visibility Update test infrastructure: - Extend TestInterface with counters and storage for new entity types - Add dimension, leader, viewport, image, and block counters - Store last entity of each type for property verification Update build configuration: - Add new test executables to CMakeLists.txt - Add new test targets to tests/Makefile.am All 11 tests pass successfully.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Analyze existing test coverage and identify gaps including:
Provides prioritized recommendations and estimated effort for
improving test coverage.