Open clarence-chew opened 2 years ago
To some extent, it depends on your code. While the five things you mentioned above are definitely applicable to almost all of us, we can definitely add more depending on the code and how are you planning to exploit it.
For example, using Integer.parseInt
? We can exploit with supplying a with non-integers of different types just like what you said on point 5.
Another example, my command handlers executes the input like it's a Java code (let's say) so I can add a test whether injecting a malicious Java code will work or not, who knows I can input a Java code that runs a shell script to remove files from your end :)
Which testcases are best chosen for regression testing? Share tips on being comprehensive!