News for hackers. Stuff that matters.
Re:Automated Unit Test Improvement Using Large Language Mode... by ape_key on Saturday February 17, 2024 @11:10AM (#39410703)
Unit tests are dead weight during refactoring. Integration tests are useful.

Code coverage metrics are most easily met by writing unit tests. Unit tests are tedious to write.

If you have a robot writing unit tests, I do not want to see your codebase. Refactor all day long. I’m not going near it.

Re:Automated Unit Test Improvement Using Large Language Mode... by TillE on Saturday February 17, 2024 @01:15PM (#39411845)
It is not at all uncommon for me to refactor the internals of a unit (ie, a class) in order to add a feature. Unit tests are extremely useful here.