expected_output 2.0.0 copy "expected_output: ^2.0.0" to clipboard
expected_output: ^2.0.0 copied to clipboard

discontinued
SDKDart

Easily write and test multiline input and expected output, and avoid test case data clutter in your test logic.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add expected_output

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

dependencies:
  expected_output: ^2.0.0

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

Import it

Now in your Dart code, you can use:

import 'package:expected_output/expected_output.dart';
1
likes
150
points
46
downloads

Publisher

verified publisherlabs.dart.dev

Weekly Downloads

Easily write and test multiline input and expected output, and avoid test case data clutter in your test logic.

Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

path, pedantic, test

More

Packages that depend on expected_output