CodeIntelligenceTesting / jazzer

Coverage-guided, in-process fuzzing for the JVM
https://code-intelligence.com
Other
1.03k stars 137 forks source link

FuzzTest annotation not found #771

Closed schirrmacher closed 1 year ago

schirrmacher commented 1 year ago

I added Jazzer to my dependencies: testImplementation 'com.code-intelligence:jazzer-api:0.18.0'

The documentation mentions the @FuzzTest annotation. But I cannot find it in the package:

Screenshot 2023-06-20 at 10 48 16

br-lewis commented 1 year ago

The FuzzTest annotation is in com.code_intelligence.jazzer.junit.FuzzTest. This requires the junit package rather than the api package.

    <dependency>
      <groupId>com.code-intelligence</groupId>
      <artifactId>jazzer-junit</artifactId>
      <version>0.17.1</version>
      <scope>test</scope>
    </dependency>
schirrmacher commented 1 year ago

I imported the wrong package which was proposed by Maven search. Appologies!