News for hackers. Stuff that matters.
Re:Show HN: Wasted hours on Unit tests, so I built VS Code e... by graypegg on Monday January 15, 2024 @05:04PM (#39006664)
Anyone made the opposite product? Human written tests, that an AI tries to make green?
Re:Show HN: Wasted hours on Unit tests, so I built VS Code e... by darkteflon on Monday January 15, 2024 @05:29PM (#39006952)
That’s actually a really interesting idea. Particularly if you take care to add docstrings and comments to the tests. Thanks!
Re:Show HN: Wasted hours on Unit tests, so I built VS Code e... by graypegg on Monday January 15, 2024 @07:04PM (#39007747)
Keep me posted if you get that working! Would be really interesting to see! Might mess around with it myself sometime too.
Re:Show HN: Wasted hours on Unit tests, so I built VS Code e... by 8note on Monday January 15, 2024 @07:24PM (#39007865)
Given the "ai Mario just pauses the game and calls it a win"

I'd expect that the ai written code doesn't do the right thing outside of the given test cases

Re:Show HN: Wasted hours on Unit tests, so I built VS Code e... by fmdz on Monday January 15, 2024 @05:06PM (#39006683)
We are writting ton of such tests, on daily basis haha.

That is infinite process, we're all stuck within :-)

Re:Show HN: Wasted hours on Unit tests, so I built VS Code e... by ramon156 on Tuesday January 16, 2024 @03:47AM (#39010973)
Watch out, we'll end up writing unit tests 40 hrs a week