Skip to content

Comment on How well do agents use test/verification techniques?parent

Comments

Few months ago I was debugging an integration with a no-code library that ships code in a custom binary format. I still smile thinking at the following test I read

assertThrows(RuntimeException.class, () -> callFoo(notABinaryFile)); //well, foo library is very complex, obviously this test throws!

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.