Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: documented very_good test argument terminator #840

Merged
merged 10 commits into from
Oct 5, 2023
7 changes: 7 additions & 0 deletions site/docs/commands/test.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,13 @@ very_good test [arguments]
Run "very_good help" to see global options.
```

### Passing Flutter specific arguments

The `flutter test` command exposes more arguments than those available through `very_good test`. Despite this, you can use the argument terminator `--` to signify the end of `very_good test` command options and the beginning of `flutter test` command options; making all `flutter test` arguments available!

For example, if you wish to run `flutter test --no-track-widget-creation` you can simply use `very_good test -- --no-track-widget-creation`.


alestiago marked this conversation as resolved.
Show resolved Hide resolved
### Tests without pub install

Unlike `flutter test`, `very_good test` will always run your tests without installing the projects dependencies (i.e. `--no-pub` flag).
Expand Down
Loading