|
|
|
|
|
by jka
1584 days ago
|
|
> Maybe unit tests need unit tests? (There’s probably a lint rule to catch what I describe above) Yep - meta-testing (ensuring that every unit test that exists in a project adds unique coverage, remains valid, runs as expected, and I'm sure many other properties) could (and should!) definitely be automated. Some more advanced meta-testing could involve tracking changes to a project's source history over time (in other words: tests that run with commit history). By that I'm thinking of situations like: "does this test genuinely still test what it used to, after the test and/or application code was modified?" |
|