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.

Libraries

bench
bench.meta