Skip to main content

cobalt_test 1.7.0 copy "cobalt_test: ^1.7.0" to clipboard
cobalt_test: ^1.7.0 copied to clipboard

Test helpers for Cobalt — build and tear down graphs, override dependencies, and check that a hand-written graph resolves.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add cobalt_test

With Flutter:

 $ flutter pub add cobalt_test

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  cobalt_test: ^1.7.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:cobalt_test/cobalt_test.dart';
0
likes
160
points
1.6k
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Test helpers for Cobalt — build and tear down graphs, override dependencies, and check that a hand-written graph resolves.

Repository (GitHub)
View/report issues
Contributing

Topics

#dependency-injection #di #testing

License

MIT (license)

Dependencies

cobalt, matcher, test_api

More

Packages that depend on cobalt_test