3 ms·
I can't think of a specific technique, but one thing that has been very useful has been exploring the use of fuzz-testing. I'm pretty much adding fuzz-testing
by stevekemp 7y ago
I can't think of a specific technique, but one thing that has been very useful has been exploring the use of fuzz-testing.
I'm pretty much adding fuzz-testing to all my current/new projects now. It doesn't make sense in all contexts, but anything that involves reading/parsing/filtering is ideal - you throw enough random input at your script/package/library and you're almost certain to find issues.
For example I wrote a BASIC interpreter, a couple of simple virtual-machines, and similar scripting-tools recently. Throwing random input at them found crashes almost immediately.