unittest 0.5.9

1. Depend on it

Add this to your package's pubspec.yaml file:

dependencies:
  unittest: 0.5.9

If your package is an application package you should use any as the version constraint.

2. Install it

If you're using the Dart Editor, choose:

Menu > Tools > Pub Install

Or if you want to install from the command line, run:

$ pub install

3. Import it

Now in your Dart code, you can use:

import 'package:unittest/unittest.dart';

About

A library for writing dart unit tests.

Author

Email misc@dartlang.org Dart Team

Homepage

http://www.dartlang.org

Documentation

http://api.dartlang.org/docs/pkg/unittest

Uploader

dgrove@google.com
jmesserly@google.com
sigmund@google.com

Share