commit | f1c4e97268df3326977281f9c7bd1081769539c5 | [log] [tgz] |
---|---|---|
author | Devon Carew <devoncarew@google.com> | Fri Dec 08 13:18:43 2017 -0800 |
committer | Devon Carew <devoncarew@google.com> | Fri Dec 08 13:18:43 2017 -0800 |
tree | 64797c4df8062313fe213d77cc844f7b9429d16a | |
parent | 1bb937ad4a8d77a953cfcdb0effa7f83e1a25635 [diff] |
add return types
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.