https://github.com/codeintelligencetesting/jazzer-gradle-example
https://github.com/codeintelligencetesting/jazzer-gradle-example
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/codeintelligencetesting/jazzer-gradle-example
- Owner: CodeIntelligenceTesting
- Created: 2023-11-28T09:57:37.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-07-25T08:47:55.000Z (4 months ago)
- Last Synced: 2025-07-25T14:22:31.027Z (4 months ago)
- Language: Java
- Size: 64.5 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Jazzer Gradle Example
This example uses Jazzer version 0.24.0 and shows how you can run it directly from Gradle.
For detailed information on how to use Jazzer, please refer to the [Jazzer documentation](https://github.com/CodeIntelligenceTesting/jazzer?tab=readme-ov-file#using-jazzer-via)
## Run
You can run Jazzer's fuzz tests as part of Gradle tests in one of the following ways:
1. Run a fuzz test in the fuzzing mode.
```shell
JAZZER_FUZZ=1 ./gradlew test --tests "org.example.PersonTest.fuzzPerson"
```
1. Run a fuzz test in the regression mode.
```shell
./gradlew test --tests "org.example.PersonTest.fuzzPerson"
```