sentinel 2.2.3 icon indicating copy to clipboard operation
sentinel: ^2.2.3 copied to clipboard

A Dart and Flutter project automatic test runner to run tests automatically as files change. Inspired by Jest and Ruby's Guard.

Sentinel #

build Coverage Status Pub

A Dart and Flutter project automatic test runner to run tests automatically as files change. Inspired by Jest and Ruby's Guard.

Installation #

Install sentinel globally so it won't cause conflicts with your dependencies.

$ pub global activate sentinel

Usage #

On your Dart or Flutter project's root directory run:

$ sentinel

After that, when you change any file under lib and 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 -i option.

$ sentinel -i

Ignoring Files #

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
1
likes
120
pub points
0%
popularity

Publisher

unverified uploader

A Dart and Flutter project automatic test runner to run tests automatically as files change. Inspired by Jest and Ruby's Guard.

Homepage

Documentation

API reference

License

Icon for licenses.MIT (LICENSE)

Dependencies

ansicolor, args, equatable, file, glob, path, watcher, yaml

More

Packages that depend on sentinel