Closed DavidGamba closed 7 years ago
I agree that this would be definitely a nice feature.
Meanwhile, since DocTest uses Minitest as a test runner, you can use minitest’s ability to filter tests:
bundle exec rake test TESTOPTS='--name=/block_paragraph:/'
Keep a note that minitest uses regex to filter tests, not glob as DocTest’s generator.
Awesome, thanks for giving me that Minitest tip :+1:
This is already implemented in 2.x version (currently in beta, latest is 2.0.0.beta.4).
Just like you might want to only generate AST blocks incrementally, we might want to run tests incrementally with the PATTERN modifier.
rake test PATTERN='block_paragraph:*'