sentinel 2.3.0 copy "sentinel: ^2.3.0" to clipboard
sentinel: ^2.3.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 an executable

Install it

You can install the package from the command line:

dart pub global activate sentinel

Use it

The package has the following executables:

$ sentinel

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: ^2.3.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/aitf_builder.dart';
import 'package:sentinel/config.dart';
import 'package:sentinel/path_tests.dart';
import 'package:sentinel/printer.dart';
import 'package:sentinel/project.dart';
import 'package:sentinel/sentinel_front.dart';
import 'package:sentinel/sentinel_runner.dart';
import 'package:sentinel/sentinel_version.dart';
import 'package:sentinel/test_file_match.dart';
import 'package:sentinel/test_runner.dart';
1
likes
110
pub points
9%
popularity

Publisher

verified publisherbrainchildprojects.com

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

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

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

More

Packages that depend on sentinel