tree: 8b5d6a860981fe5f287b3a04725bb793f3a7c6ef [path history] [tgz]
  1. lib/
  2. .gitignore
  3. .status
  4. AUTHORS
  5. CHANGELOG.md
  6. CONTRIBUTING.md
  7. LICENSE
  8. pubspec.yaml
  9. README.md
README.md

test_reflective_loader

Support for discovering tests and test suites using reflection.

It follows the xUnit style where each class is a test suite, and each method with the name prefix “test_” is a single text.

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

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

Methods with names starting with “fail_” are expected to fail.

Methods with names starting with “solo_fail_” are run using 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.