Skip to content

Commit

Permalink
docs: add notes about fuzzing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kulti committed Apr 3, 2022
1 parent 9fc5e9b commit bbb717e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,10 @@ thelper --checks=t_first,b_name ./...
* t_name - `*testing.T` should be named `t`.
* t_first - `*testing.T` should be the first param of helper function.

The same for benchmarks and TB interface:
The same for fuzzing, benchmarks and TB interface:
* f_begin - `f.Helper()` should begin helper function.
* f_name - `*testing.F` should be named `f`.
* f_first - `*testing.F` should be the first param of helper function.
* b_begin - `b.Helper()` should begin helper function.
* b_name - `*testing.B` should be named `b`.
* b_first - `*testing.B` should be the first param of helper function.
Expand All @@ -88,7 +91,7 @@ The same for benchmarks and TB interface:
### Exceptions

* t_name allows using `_` name.
* t_begin allows subtests not begin from `t.Helper()`.
* t_begin allows subtests and fuzz tests not begin from `t.Helper()`.
* t_first allows to be the second after `context.Context` param.

## Examples
Expand Down

0 comments on commit bbb717e

Please sign in to comment.