DEV Community

Discussion on: What gives you a false sense of certainty/security/...?

Collapse
 
adam_cyclones profile image
Adam Crockett 🌀 • Edited

So the answer is use humans to review code. But who really trusts humans to code, that's why we have tests?

Collapse
 
_bigblind profile image
Frederik 👨‍💻➡️🌐 Creemers

There's an infinite number of things a piece of code could be doing, and in general tests only test that code does the things we want. But there's another infinity of things we don't want that code to do, that we're not testing for. As I'm learning more about how brittle and hard to understand large and complex systems are, the more I see the value of fuzzing, or property-based testing for smaller pieces of it.