A Random input is baker input used for testing. It generates a specified number of random, but valid, records.
| 32 | // A Random input is baker input used for testing. It generates a specified |
| 33 | // number of random, but valid, records. |
| 34 | type Random struct { |
| 35 | Cfg *RandomConfig |
| 36 | } |
| 37 | |
| 38 | // NewRandom creates a Random baker input. |
| 39 | func NewRandom(cfg baker.InputParams) (baker.Input, error) { |
nothing calls this directly
no outgoing calls
no test coverage detected