Given coverage data, how would you build a tool to decide which untested parts of a codebase most need tests?
The best I can think of is using profile data to ensure hotspots are tested. Not sure if it's ideal though: top level code and well-exercised logic would be highlighted.
Wilfred Hughes
Shared words: test, ensure, Not, sure, need
Score: 100.4
Python and JS can both execute code when loading libraries (`import foo` and `require('foo')` respectively).
Yet the Python CLI apps I've seen have to do much more work to ensure good startup performance (e.g. `myapp --help` not being slow). I'm not sure why.
I've seen test runners that report the number of assertions checked, not just the number of tests. Is this useful?
I understand if you have non-fatal assertions (like EXPECT_TRUE in googletest), but I think this is a rare feature in testing libraries.
Wilfred Hughes
Shared words: test, feature, expect, Not
Score: 61.1