jazzer
jazzer copied to clipboard
Jazzer exits after running first test
class JazzerDemo {
@FuzzTest(maxExecutions = 10000)
fun run(d: FuzzedDataProvider) {
...
}
@FuzzTest(maxExecutions = 10000)
fun run2(d: FuzzedDataProvider) {
...
}
}
I would rather expect to run both tests, not just first one.
The same happens no matter if I run single test class or ./gradlew test
When I stop fuzzing (by unsetting JAZZER_FUZZ) it works as expected (but doesn't fuzz anymore), so this is a problem with Jazzer, not Junit.
This very useful feature was never implemented for "reasons" (e.g. see https://github.com/CodeIntelligenceTesting/jazzer/issues/599). At this stage, the only way to add this to Jazzer is to implement it and open a PR.