|
|
|
|
|
by torginus
564 days ago
|
|
What the reasoning behind generating tests until they pass? Isn't the point of tests to discover erroneous corner cases? What purpose does this serve besides the bragging rights of 'we need 90% coverage otherwise Sonarqube fails the build'? |
|
I think automating test coverage would be really useful if you needed to refactor a legacy project — you want to be sure that as you change the code, the existing functionality is preserved. I could imagine running this to generate tests and get to good coverage before starting the refactor.