News for hackers. Stuff that matters.
Re:Show HN: Wasted hours on Unit tests, so I built VS Code e... by 8note on Monday January 15, 2024 @07:34PM (#39007933)
I don't really understand what the test cases will do? Is the code expected to already correct, and the tests are documentation?

If I imagine a workflow of

1. Updating some code (with a regression) 2. Running the ai to generate tests 3. The tests pass

How do I know that the ai didn't assume the regression is expected? Do I read the explanation of the test cases?

Re:Show HN: Wasted hours on Unit tests, so I built VS Code e... by fmdz on Monday January 15, 2024 @07:44PM (#39008017)
There are positive, negative and edge cases.

They are generated by AI, so unit tests will be implemented by case definitions.