test_filename_lint 0.1.0
test_filename_lint: ^0.1.0 copied to clipboard
Simple lint to detect incorrectly names test files
About this lint #
Simple dart lint that checks if test file is names correctly.
For dart test
command, only files with _test
suffix are considered.
It may be easy to forget about that, and test that is not being run is useless.
Installation #
In your pubspec add
dev_dependencies:
test_filename_lint: 0.1.0
In analysis_options
add
analyzer:
plugins:
- custom_lint