Hacker News new | ask | show | jobs
by AstroBen 42 days ago
How do you test code that you don't understand?

Black-box e2e testing isn't suitable, or practical, for a lot of applications. Unit and integration tests generally require you to understand the code you want tests for, to know what to actually assert

Are you just trusting the AI to do it all?

1 comments

Nothing a "make no mistakes" at the end of a query cannot fix. /s