jazzer icon indicating copy to clipboard operation
jazzer copied to clipboard

Jazzer exits after running first test

Open iirekm opened this issue 6 months ago • 1 comments

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.

iirekm avatar Jul 03 '25 18:07 iirekm

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.

oetr avatar Jul 03 '25 20:07 oetr