v0.1.1
Bug fixes and two new configuration features since the initial public beta.
Features
--min-severitydisplay filter (#59): Filter terminal/JSON output by severity level.exspec --min-severity warn .hides INFO diagnostics. Does not affect exit code (BLOCK violations still fail regardless of filter).- Per-rule severity override (#60):
[rules.severity]in.exspec.tomllets you change a rule's evaluation severity or disable it entirely.T107 = "off"disables the rule;T101 = "info"downgrades from WARN to INFO.
Bug Fixes
.tsxfiles: TypeScript assertion detection now uses the TSX parser, fixing false positives on.tsxtest files (#53)[paths] ignoreconfig: Theignorepatterns in.exspec.tomlwere not applied to file discovery (#54)- T109 CJK test names: Single-word heuristic falsely flagged Japanese/Chinese test names as undescriptive (#55)
@pytest.fixturefalse positives: Functions decorated with@pytest.fixturethat start withtest_are no longer analyzed as test functions (#56)pytest.fail()as test oracle:pytest.fail()is now recognized as a valid assertion for T001 (#57)- PHP
Facade::shouldReceive(): Static Mockery calls on Laravel Facades are now recognized as assertions for T001 (#58)
Install
cargo install --git https://github.com/morodomi/exspec.gitFull changelog: https://github.com/morodomi/exspec/blob/main/CHANGELOG.md