Test Coverage Improvements
This release focuses on improved test coverage and release infrastructure.
Coverage Increases
- Overall coverage: 88.61% → 89.05%
_version.py: 71.43% → 100%exceptions.py: 83.67% → 100%data_session.py: 81.25% → 100%
Added (26 new tests)
Release Infrastructure
- Added
tests/packaging/test_packaged_version.shscript to validate version consistency betweenpyproject.tomland installed package before deployment - Updated
.github/workflows/publish.ymlto run packaging validation tests before PyPI publication - Added
.claude/commands/release-prep.mdslash command for streamlined release management workflow
Test Coverage
- All exception class constructors and serialization (
to_dict()method) - Data session error paths (validation methods, stats generation)
- Version string format validation
Changed
- Version Handling: Simplified
_version.pyby removingPackageNotFoundErrorfallback logic (package metadata always available in deployment environments)
Fixed
- Version Validation: Packaging test now validates three-part semver format (MAJOR.MINOR.PATCH) with regex pattern matching
Full Changelog: v0.1.1...v0.1.2