3 ms·
In that situation, why do you WANT tests? If, for example, someone intends to refactor the code into something more maintainable and wants tests to prevent any
by mcherm 5y ago
In that situation, why do you WANT tests?
If, for example, someone intends to refactor the code into something more maintainable and wants tests to prevent any accidental changes in functionality, then this is useful.
If the goal is to catch bugs or to facilitate future development or to meet some test coverage standard then I argue you might be better off not having tests rather than having auto-generated tests that have not been carefully reviewed.