given_when_then 0.2.0 copy "given_when_then: ^0.2.0" to clipboard
given_when_then: ^0.2.0 copied to clipboard

A Flutter package to enable code reuse while making tests more readable.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add given_when_then

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

dependencies:
  given_when_then: ^0.2.0

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:given_when_then/given_when_then.dart';
14
likes
150
pub points
51%
popularity

Publisher

verified publisherebay.com

A Flutter package to enable code reuse while making tests more readable.

Homepage
Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, flutter_test

More

Packages that depend on given_when_then