Clone this repo:
  1. 6a5faf3 Switch to 'test', add different support for 'solo'. by Konstantin Shcheglov · 1 year, 1 month ago master 0.1.0
  2. 1630a63 Update with implementation from 'analyzer'. by Konstantin Shcheglov · 1 year, 2 months ago 0.0.4
  3. d7e0f5c Merge pull request #4 from dart-lang/rename-to-defineReflectiveTests by Konstantin Scheglov · 2 years, 6 months ago 0.0.3
  4. 58e0d59 Rename runReflectiveTests -> defineReflectiveTests. by Konstantin Shcheglov · 2 years, 6 months ago
  5. 87ef0be Merge pull request #3 from dart-lang/devoncarew-patch-1 by Devon Carew · 2 years, 6 months ago 0.0.2

test_reflective_loader

Support for discovering tests and test suites using reflection.

This package follows the xUnit style where each class is a test suite, and each method with the name prefix test_ is a single test.

Methods with names starting with test_ are run using the test() function with the corresponding name. If the class defines methods setUp() or tearDown(), they are executed before / after each test correspondingly, even if the test fails.

Methods with names starting with solo_test_ are run using the solo_test() function.

Methods with names starting with fail_ are expected to fail.

Methods with names starting with solo_fail_ are run using the solo_test() function and expected to fail.

Method returning Future class instances are asynchronous, so tearDown() is executed after the returned Future completes.

Features and bugs

Please file feature requests and bugs at the issue tracker.