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 will automatically run a corresponding unit test if available or all tests.
If you wish to also run integration tests, include
$ sentinel -i