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
140
pub points
6%
popularity

Publisher

verified publisherlabs.dart.dev

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