3 ms·
Cover Agent: open source regression test generation tool
- psyonity 2y agoTo me this feels like it would test what the code does, not what the code is _supposed_ to do. Tests should in my opinion validate the intent behind code, not the actual function itself.
- bobismyuncle 2y agoI think you’re spot on that currently it can only test what the code actually does. That’s probably why they specify that it’s for regression tests which are meant to do exactly that - test that future changes to the code do not change the current behavior unintentionally
- twobitshifter 2y agoRight it is good as a “regression” test framework. AI isn’t needed for this and there are things like pyarttest that give you the same regression benefit. - they don’t validate that the initial code was correct.
- gavmor 2y agoThat's all well and good when you're test-driving, but when you're spelunking into a legacy codebase it can be awfully hard to identify "intent," so it's good to know when you've changed any observable behavior.
- mdaniel 2y agoI believe this is the same thing that was submitted yesterday https://news.ycombinator.com/item?id=40426995 https://news.ycombinator.com/item?id=40426995 only that one pointed to the blog post and this one points to the repo