bench 0.2.6
bench: ^0.2.6 copied to clipboard
Metadata and test runner for Dart's `unittest` package.
Bench Changes #
0.2.6 #
-
Add a very primitive test runner for running headless browser tests via
content_shell --dump-render-tree. The snapshot is in thelib/directory for now so that it is visible to applications that listbenchas a dependency. It can be used from such an application's root directory in the following manner:dart packages/bench/runner test/my_browser_harness.html
0.2.5 #
- Fixed an issue regarding
Setup/Teardown/Testmirrored invocations that returnFuture; the returned future is now passed correctly to theunittestlibrary functions.
0.2.4 #
- Added support for
@Group()in the test runner.
0.2.3 #
- Added support for
@Setupand@Teardowninvocation in the test runner. - Use each test library's
qualifiedNameas the default group name when none is specified with@Group(description); currently@Group()annotations are ignored because support for reflection of metadata on library declarations is not yet implemented.
0.2.2 #
- Added
@ExpectThrows()annotation which takes an optionalMatcherfrom theunittestpackage. The default matcher isanything.
0.2.1 #
- Added an
example/browser.htmlto demonstrate usage with html configuration. - Workaround the lack of library declaration metadata reflection (@Group) by setting a single top-level group named '*'; the html configuration renderer will only render tests in groups.
0.2.0 #
- Repurposed this package to provide metadata and a reflective test runner for
Dart's
unittestpackage. For benchmarks, please use thebenchmark_harnesspackage. We may enhance this package to provide support for thebenchmark_harnessin the future, if there is demand.
0.1.4 #
- Updated to SDK 0.5.1_r22072.
0.1.3 #
- Updated to SDK 0.5.0_r21823.
0.1.2 #
- Updated to SDK 0.4.7_r21548.
0.1.1 #
- Refactored a large portion of the async code to simplify things thanks to the lib_v2 changes; Completers are no longer used unless necessary.
0.1.0 #
- Updated to SDK 0.4.2_r20259.
0.0.10 #
- Updated to SDK 0.3.7_r18717.
0.0.9 #
- Updates for the lib v2 SDK (0.3.1_r17328).
0.0.8 #
- Better dependency version constraints.
- Removed function literal from example that was causing error in latest SDK.
0.0.7 #
- Updated the pubspec dependencies (logging and unittest are now on pub)
0.0.6 #
- Ramped up the documentation and added link to blog article.
- Libraries and their benchmarks are now sorted alphabetically to provide consistent run results.