Run executes the CLI with the given arguments and captures the output.
(t *testing.T, args ...string)
| 47 | |
| 48 | // Run executes the CLI with the given arguments and captures the output. |
| 49 | func (f *Fixture) Run(t *testing.T, args ...string) Result { |
| 50 | return f.RunWithInput(t, "", args...) |
| 51 | } |
| 52 | |
| 53 | // RunWithInput executes the CLI with the given input and arguments and captures the output. |
| 54 | func (f *Fixture) RunWithInput(t *testing.T, input string, args ...string) Result { |