This is an Maven project configured with cifuzz which includes:
- class with multiple Fuzz Tests
- class with mixed Unit and Fuzz Tests
- changed source directory for test source set
- multi-project layout
To run the fuzz tests, the Maven install
command needs to be called to be able
to resolve all dependencies.
mvn -Dmaven.test.skip=true install
cifuzz -C util run util.UtilTest::joinFuzzTest
cifuzz -C tests run UtilFuzzTest::fuzzTest
cifuzz -C tests run NegativeArraySizeFuzzTest::fuzzTest
cifuzz -C tests bundle
The bundle should include 2 Fuzz Tests:
NegativeArraySizeFuzzTest::fuzzTest
UtilFuzzTest::fuzzTest
cifuzz -C util bundle
The bundle should include 1 Fuzz Test:
util.UtilTest::joinFuzzTest