by biorach · 3y ago · 0 comments
The idea is to catch cases where contributors failed to run the tool on save.
On large code bases this can be time consuming.
In CI you only need to lint the files that have changed, or run the tests that depend on code that has changed etc.
This way the time it takes to execute the tests scales with the amount of changes, and not with the total amount of code.
Test runners that run new/changed tests first though are cool. Faster feedback on error but still comprehensive.