I don’t think it’s “just” that easy. AI can be great at generating unit tests but it can and will also frequently silently hack said tests to make them pass rather than using them as good indicators of what the program is supposed to be doing.
> AI can be great at generating unit tests but it can and will also frequently silently hack said tests to make them pass rather than using them as good indicators of what the program is supposed to be doing.
Unit testing is my number one use case for gen AI in SWE. I just find the style / concept often slightly different than I would personally do, so I end up editing the whole thing.
But, it’s great at getting me past the unpleasant “activation energy threshold” of having a test written in the first place.
datsci_est_2015|20 days ago
Unit testing is my number one use case for gen AI in SWE. I just find the style / concept often slightly different than I would personally do, so I end up editing the whole thing.
But, it’s great at getting me past the unpleasant “activation energy threshold” of having a test written in the first place.
hyperadvanced|20 days ago