sentinel 0.1.0 sentinel: ^0.1.0 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.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add sentinel
With Flutter:
$ flutter pub add sentinel
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
sentinel: ^0.1.0
Alternatively, your editor might support dart pub get
or flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:sentinel/path_tests.dart';
import 'package:sentinel/project.dart';
import 'package:sentinel/test_runner.dart';