Merge pull request #24 from MichaelRFairhurst/allow-skipping-tests

Add support for skipping tests
tree: 95c547a71511f9c8a23e7f04e57d1a17037566df
  1. lib/
  2. test/
  3. tool/
  4. .gitignore
  5. .status
  6. .travis.yml
  7. analysis_options.yaml
  8. AUTHORS
  9. CHANGELOG.md
  10. CONTRIBUTING.md
  11. LICENSE
  12. pubspec.yaml
  13. README.md
README.md

test_reflective_loader

Build Status

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.