pyvider-hcl
2025-10-21
Major test suite expansion with fixtures, integration, and property-based tests
9 files · 1,010+ · 169-
Shared test fixtures added via conftest.py
1 file changed
conftest.pyAdded provide-testkit integration with temp directories and structured HCL fixtures
- Added tests/conftest.py with provide-testkit integration for temp directories and file structures
qualify
internal
1 file
conftest.py
- Fixtures include sample_hcl_content, multi_file_hcl_structure (creates a full Terraform project layout with main.hcl, variables.hcl, outputs.hcl, and modules), hcl_config_file, nested_object_hcl, and list_of_objects_hcl
qualify
internal
1 file
conftest.py
Integration test suite exercising full parsing pipeline
1 file changed
test_integration.pyAdded 231-line end-to-end tests from HCL text through CTY value creation
Property-based tests using Hypothesis for fuzz testing
1 file changed
test_property_based.pyAdded 212-line Hypothesis-based fuzz testing for HCL type parsing and auto-inference
Terraform config parsing tests added
1 file changed
test_terraform.pyAdded 31-line tests for parse_terraform_config function
Factory and parser edge-case test coverage expanded
3 files changed
test_factories.pyAdded 12+ new edge-case tests for _parse_hcl_type_string and variable factorytest_parser.pyAdded additional parser tests (46 lines of additions)test_printer.pyAdded more printer test coverage (27 lines of additions)
- Added 12+ new edge-case tests for _parse_hcl_type_string: empty list/map types, object without braces, empty braces, trailing comma, empty attribute parts, missing equals sign, empty name/type
qualify
internal
1 file
test_factories.py
- Added tests for invalid variable names (empty, non-identifier), invalid type strings, sensitive flag, all-params combination
qualify
behavioral
1 file
test_factories.py
- Added test for empty resource type
qualify
internal
1 file
test_factories.py
- Added additional parser tests (46 lines of additions)
qualify
internal
1 file
test_parser.py
- Added more printer test coverage (27 lines of additions)
qualify
internal
1 file
test_printer.py
Lock file and settings updated
2 files changed
uv.lockRegenerated lock file with updated dependency versionssettings.local.jsonUpdated Claude settings