python - Making Nose fail slow tests -
i want tests fail if take longer time run (say 500ms) because sucks when load of slow tests mount , have big delay every time run test suite. there plugins or nose already?
i respectfully suggest changing meaning of "broken" bad idea.
the meaning of failed/"red" test should never other "this functionality broken". else risks diluting value of tests.
if implement , next week handful of tests fail, indicator that
- your tests running slowly?
- the code broken?
- both of above @ same time?
i suggest better gather mi build process , monitor in order spot slow tests building up, let red mean "broken functionality" rather "broken functionality and/or slow test."
Comments
Post a Comment