github.com/ari-anchor/sei-tendermint@v0.0.0-20230519144642-dc826b7b56bb/test/fuzz/README.md (about)

     1  # fuzz
     2  
     3  Fuzzing for various packages in Tendermint using the fuzzing infrastructure included in
     4  Go 1.18.
     5  
     6  Inputs:
     7  
     8  - mempool `CheckTx` (using kvstore in-process ABCI app)
     9  - p2p `SecretConnection#Read` and `SecretConnection#Write`
    10  - rpc jsonrpc server
    11  
    12  ## Running
    13  
    14  The fuzz tests are in native Go fuzzing format. Use the `go`
    15  tool to run them:
    16  
    17  ```sh
    18  go test -fuzz Mempool ./tests
    19  go test -fuzz P2PSecretConnection ./tests
    20  go test -fuzz RPCJSONRPCServer ./tests
    21  ```
    22  
    23  See [the Go Fuzzing introduction](https://go.dev/doc/fuzz/) for more information.