bench 0.2.1 copy "bench: ^0.2.1" to clipboard
bench: ^0.2.1 copied to clipboard

outdatedDart 1 only

Metadata and test runner for Dart's `unittest` package.

Bench #

Metadata and test runner for dart's unittest package.

Build Status

Libraries as Test Groups #

@Group()
library bench.example;

Reflective access to metadata is not yet supported on library declarations, but once it is these annotations will group all tests in the annotated library.

Annotate Tests #

import 'package:bench/meta.dart';
import 'package:unittest/unittest.dart';

@Test('An example test case that passes.')
void testPass() {
  expect(true, isTrue);
}

Run Bench #

import 'package:bench/bench.dart' as bench;

void main() => bench.main();

Bench uses the MIT license as described in the LICENSE file, and follows semantic versioning.

0
likes
0
points
152
downloads

Publisher

unverified uploader

Weekly Downloads

Metadata and test runner for Dart's `unittest` package.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

browser, logging, unittest

More

Packages that depend on bench