CopyFuzz is a fuzz testing tool that records user sessions though mouse and keyboard inputs in order to gain an understanding of the application. When CopyFuzz tests, it first randomly selects a recorded user session, then randomly selects a depth to copy that session to. CopyFuzz will simulate all mouse and keyboard actions to the randomly chosen depth and then begin fuzz testing.
To use CopyFuzz:
- Include the CopyFuzz project in your solution
- Add a reference from the class you want to test the CopyFuzz project
- Implement the
ICopyFuzzifiy
interface into the class you want to test - Create a console application
- Create a CopyFuzz object and pass a delegate that will run your application to begin testing:
private static void Main(string[] args)
{
new CopyFuzz.CopyFuzz(seed => new Form(seed), seed));
}