This repository uses Bogus as fuzzing library.
The class FuzzingTestCases is a base class for test classes with:
- faker class initialization with random seed for each test
- random seed logging at the end of each test execution
- Make the ReportGeneratorTests class extend FuzzingTestCases
- Make a presentation of the FuzzingTestCases class
- In the the ReportGeneratorTests class, replace the existing EducationalBookBuilder usages with extension methods for the Faker class
Eg:
// Before
var book = BookBuilder.AnEducationalBook().Costing(25).Build();
// After
var book = Fuzzer.AnEducationalBook().Costing(25).Build();
Some test may fail over executions as values are set implicit in existing builders...