You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* #237 test: add comprehensive tests for turnkey domain
Added complete test coverage for src/turnkey/domain.rs:
- Added 17 unit tests for TurnkeyErrorKind and TurnkeyError
- Added 10 doctests for all public types and methods
- Added module-level documentation
- Tested Display implementations for both enum and struct
- Tested Clone, PartialEq, Eq traits
- Tested TurnkeyError::new with various input types
- Verified map_turnkey_kind mappings
Test results:
- Unit tests: 386 passed (was 367, +19)
- Doctests: 10 for turnkey::domain module
- Clippy: no warnings
- Formatting: compliant with rustfmt
Coverage:
- TurnkeyErrorKind: 100%
- TurnkeyError: 100%
- map_turnkey_kind: 100%
* #237 test: add comprehensive coverage for src/turnkey/domain.rs
- Test TurnkeyError::new with different message types (string, str, empty, long, unicode)
- Test TurnkeyError Display trait
- Test TurnkeyError Clone and PartialEq
- Test TurnkeyErrorKind Display for all variants
- Test TurnkeyErrorKind Clone and PartialEq
- Test map_turnkey_kind for all variants
- Coverage: 88.24% -> 98.29%
0 commit comments