3 ms·
This sounds a bit dangerous. Code coverage works on code, not on data, so if you're testing something like: // globals rules_t rules[] = {{1, OK}, {2,
by viraptor 11y ago
This sounds a bit dangerous. Code coverage works on code, not on data, so if you're testing something like:
// globals
rules_t rules[] = {{1, OK}, {2, FAIL}, {3, THERMONUCLEAR_WAR}};
It sounds like you could change rules 1 and 2 to THERMONUCLEAR_WAR as well and none of the tests would rerun. Is that right?
- stouset 11y agoYou might do something like this for local development, keeping things fast with some confidence you're not grossly breaking things. But you run the full suite through CI.