| Index: pkg/unittest/lib/unittest.dart
|
| diff --git a/pkg/unittest/lib/unittest.dart b/pkg/unittest/lib/unittest.dart
|
| index 1177de50e7c22756fab2310c4acdbb49674d3d49..d5ac02392a7038488480f9e8a21b9ae4fdde94cf 100644
|
| --- a/pkg/unittest/lib/unittest.dart
|
| +++ b/pkg/unittest/lib/unittest.dart
|
| @@ -1,33 +1,27 @@
|
| -// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
|
| +// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| /**
|
| * A library for writing dart unit tests.
|
| *
|
| - * To import this library, use the pub package manager.
|
| - * Create a pubspec.yaml file in your project and add
|
| - * a dependency on unittest with the following lines:
|
| - * dependencies:
|
| - * unittest: any
|
| - *
|
| - * Then run 'pub install' from your project directory or using
|
| - * the DartEditor.
|
| - *
|
| - * Please see [Pub Getting Started](http://pub.dartlang.org/doc)
|
| - * for more details about the pub package manager.
|
| + * To import this library, install the
|
| + * [unittest package](http://pub.dartlang.org/packages/unittest) via the pub
|
| + * package manager. See the [Getting Started](http://pub.dartlang.org/doc)
|
| + * guide for more details.
|
| *
|
| * ##Concepts##
|
| *
|
| - * * Tests: Tests are specified via the top-level function [test], they can be
|
| + * * __Tests__: Tests are specified via the top-level function [test], they can be
|
| * organized together using [group].
|
| - * * Checks: Test expectations can be specified via [expect]
|
| - * * Matchers: [expect] assertions are written declaratively using [Matcher]s
|
| - * * Configuration: The framework can be adapted by calling [configure] with a
|
| - * [Configuration]. Common configurations can be found in this package
|
| - * under: 'dom\_config.dart' (deprecated), 'html\_config.dart' (for running
|
| - * tests compiled to Javascript in a browser), and 'vm\_config.dart' (for
|
| - * running native Dart tests on the VM).
|
| + * * __Checks__: Test expectations can be specified via [expect]
|
| + * * __Matchers__: [expect] assertions are written declaratively using the
|
| + * [Matcher] class.
|
| + * * __Configuration__: The framework can be adapted by calling [configure] with a
|
| + * [Configuration]. See the other libraries in the `unittest` package for
|
| + * alternative implementations of [Configuration] including
|
| + * `compact_vm_config.dart`, `html_config.dart` and
|
| + * `html_enhanced_config.dart`.
|
| *
|
| * ##Examples##
|
| *
|
|
|