Skip to content

Commit db89429

Browse files
committed
docs: reference a pure Bazel+JUnit5 example that uses Jazzer
- this example does not use rules_fuzzing
1 parent fc2854f commit db89429

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,15 @@ implementation group: 'com.code-intelligence', name: 'jazzer-junit', version: '<
6262

6363
### Bazel
6464

65+
#### Using rules_fuzzing
6566
Jazzer is supported via [rules_fuzzing](https://github.com/bazelbuild/rules_fuzzing), the official Bazel rules for fuzzing.
6667
For setup instructions, see [the README](https://github.com/bazelbuild/rules_fuzzing#java-fuzzing).
6768

68-
With Jazzer set up, you can start writing fuzz tests and benefit from automated bug discovery and improved code coverage.
69+
#### Using JUnit5 integration
70+
71+
It is also possible to use Jazzer+JUnit5 integration directly in Bazel.
72+
An example project can be found [here](https://github.com/CodeIntelligenceTesting/example-bazel-junit).
73+
The [BUILD](https://github.com/CodeIntelligenceTesting/example-bazel-junit/blob/main/BUILD) file showcases how to set up corpus directories for fuzzing and regression and how to pass arguments to Jazzer and libFuzzer.
6974

7075
## Writing fuzz tests
7176

@@ -225,7 +230,7 @@ If you found something interesting and the information is public, please send a
225230

226231
## Further documentation
227232

228-
* [Arguments and Configuration Options](docs/arguments-and-configuration-options.md)
233+
* [Arguments and configuration options](docs/arguments-and-configuration-options.md)
229234
* [Mutation framework](docs/mutation-framework.md)
230235
* [Advanced techniques](docs/advanced.md)
231236
* [Building Jazzer from source](CONTRIBUTING.md)

0 commit comments

Comments
 (0)