logoalt Hacker News

AstroBen • today at 8:08 PM • 1 reply • view on HN

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?


Replies

avgDev • today at 8:24 PM

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