Install sentinel globally so it won't cause conflicts with your dependencies.
$ pub global activate sentinel
On your Dart or Flutter project's root directory run:
After that, when you change any file under
test directory, sentinel
will automatically run a corresponding unit test if available or all tests.
Running Integration Tests
Warning: this feature is experimental.
If you wish to also run integration tests like in a flutter project, use the
$ sentinel -i
To ignore some files from watching, create a
sentinel.yaml on your project
root and add the ignored globs like the following:
ignore: - test/tmp/* - data/schema.dart