4 ms·
I look at property-based testing the same way I look at Design by Contract. It can be used to find errors in existing systems, but it's also valuable when you a
by michaelfeathers 10y ago
I look at property-based testing the same way I look at Design by Contract. It can be used to find errors in existing systems, but it's also valuable when you are designing.
Just asking yourself what laws a function should adhere to as you are considering writing it function puts you in a different frame of mind and you can end up with simpler software.
- nickpsecurity 10y agoYeah, fuzzing is just throwing random data. Property-based is supposed to be more like DbC where it's guided to test the righg things.