commit | f01253720873724d15345228f03248a6b8bcbf8e | [log] [tgz] |
---|---|---|
author | Konstantin Scheglov <scheglov@google.com> | Fri Dec 08 10:45:25 2017 -0800 |
committer | GitHub <noreply@github.com> | Fri Dec 08 10:45:25 2017 -0800 |
tree | b9cc6a0e97a9ed313b7f944a92070596c5adbcc9 | |
parent | 3bea04c7b4cbe82cc2eef6d7d3381f247e8d4fae [diff] | |
parent | f4861b27c9be9d51dde5a0042448af4199f755f1 [diff] |
Merge pull request #10 from dart-lang/failingTest-fail-when-pass Fail @failingTest when the test passes.
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.
Please file feature requests and bugs at the issue tracker.