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
copied to clipboard

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
copied to clipboard

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';
copied to clipboard
14
likes
150
points
259
downloads

Publisher

verified publisherebay.com

Weekly Downloads

2024.09.16 - 2025.03.31

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