Hacker News new | ask | show | jobs
by gibspaulding 20 days ago
Testing, testing, and more testing. In the project I'm working on right now, about 2/3 of the code is in one way or another related to testing. As a human coder, I'd never spend that much time on building test harnesses, automating regressions, writing unit tests, etc, but it's cheap when you can have a robot do it.
1 comments

So you assume code written by the agent canno be trusted? But how comes you are trusting the tests?
At my work we still have a QA dept that runs the manual test suites before each release. We have also automated almost all of those manual tests and they gate every merge to mainline.

Things are still found but normally it is a new test case or an edge condition we don’t have an automated test for. The ever growing e2e suite has reduced the amount of regressions pretty drastically.

EDIT: I forgot to note that automated e2e tests were always the answer to improving quality. AI has just made it cheap to have several layers of test coverage.

To start, you make it a rule that every test must pass with the fix being tested, and it must fail if the fix is missing.
You of course use another AI to test your tests, have you been living under a rock? /s
How are these /s posts even allowed? You contributed nothing to the conversation other than noise.
thanks for the insight throwaway
I dont know what planet you guys are from.

Yes I use another AI to test my tests and my code I thought everyone did.