Hi everyone,
Maintaining idiomatic quicktest assertions across a growing test suite can be non-trivial, and small inconsistencies tend to accumulate over time.
I created a quicktest-specific linter that detects suboptimal or non-idiomatic assertion patterns and can automatically apply fixes: https://github.com/go-extras/qtlint
The linter is intentionally focused on quicktest semantics rather than generic test linting, and the rule set is designed to be minimal and extensible.
Contributions, ideas for additional rules, and feedback are welcome.
Hi everyone,
Maintaining idiomatic
quicktestassertions across a growing test suite can be non-trivial, and small inconsistencies tend to accumulate over time.I created a
quicktest-specific linter that detects suboptimal or non-idiomatic assertion patterns and can automatically apply fixes: https://github.com/go-extras/qtlintThe linter is intentionally focused on quicktest semantics rather than generic test linting, and the rule set is designed to be minimal and extensible.
Contributions, ideas for additional rules, and feedback are welcome.