You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*`-s, --source TEXT`, _required_: specifies a Go source file to generate tests for.
116
-
*`-f, --function TEXT`, _required_: specifies a function name to generate tests for. Can be used multiple times to select multiple
117
-
functions.
118
-
*`-go, --go-path TEXT`, _required_: specifies a path to a Go executable. For example, `/usr/local/go/bin/go`.
116
+
*`-f, --function TEXT`: specifies a function name to generate tests for. Can be used multiple times to select multiple functions.
117
+
*`-m, --method TEXT`: specifies a method name to generate tests for. Can be used multiple times to select multiple methods.
118
+
*`-go TEXT`, _required_: specifies a path to a Go executable. For example, `/usr/local/go/bin/go`.
119
+
*`-gopath TEXT`, _required_: specifies a path to your workspace location. It defaults to a directory named `go` in your home directory: `$HOME/go` for Unix, `$home/go` for Plan 9, and `%USERPROFILE%\go` (usually `C:\Users\YourName\go`) for Windows.
120
+
*`-parallel INT`: specifies the number of fuzzing processes running at once (eight by default).
119
121
*`-et, --each-execution-timeout INT`: specifies a timeout in milliseconds for each target function execution.
120
122
The default timeout is 1,000 ms.
121
123
*`-at, --all-execution-timeout INT`: specifies a timeout in milliseconds for all target function executions.
122
124
The default timeout is 60,000 ms.
123
125
*`-p, --print-test`: specifies whether a test should be printed out to `StdOut`. Disabled by default.
124
126
*`-w, --overwrite`: specifies whether to overwrite the output test file if it already exists. Disabled by default.
127
+
*`-fm, --fuzzing-mode`: stops test generation when a `panic` situation, an error, or timeout occurs (only one test will be generated for one of these cases).
0 commit comments