3 ms·
I’ve found it better at writing tests because it tests the code you’ve written vs what you intended. I’ve caught logic bugs because it wrote tests with an asser
by tyre 2y ago
I’ve found it better at writing tests because it tests the code you’ve written vs what you intended. I’ve caught logic bugs because it wrote tests with an assertion for a conditional that was backwards. The readable name of the test clearly pointed out that I was doing the wrong thing (the test passed?.)
- scosman 2y agoInteresting. I’ve had the opposite experience (I invert or miss a condition, it catches it). It probably comes down to model, naming and context. Until Sonnet 3.5 my experience was similar to yours. After it mostly “just works”.
- williamdclt 2y agoThat sounds more like a footgun than a desirable thing to be honest!