Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Well yeah you’re not reviewing the tests so you wouldn’t catch them.
 help



You seem to forget what tests are.

They're representative of scenarios which your application can enter.

So if the tests were mocked and a bug went live he'd still notice, after all it means your software behaved incorrectly and now you gotta clean up the pieces.


But the purpose of a test is to catch a bug before it goes live.

This is becoming cyclical, did you forget what this comment chain went about?

The discussion went from tests being written by ai, to nobody actually reviewing the tests, to the claim that given those circumstances, you wouldn't notice that the tests may not tests anything anymore because of mocks.

My statement was merely pointing out that your previous comment was groundless because they still would've found out about those bugs when they went live.


>My statement was merely pointing out that your previous comment was groundless because they still would've found out about those bugs when they went live.

Maybe. You're assuming visible and obvious bugs.


The others frequently go into prod with rigorous review too, so that hasn't really changed between pre ai and today from my perspective.

Exactly, which shows review and prod both miss things. Mutation testing (Stryker, mutmut, PIT) is how you find out which tests can’t fail.



Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: