Skip to content

Commit

Permalink
Merge pull request dart-lang/test_reflective_loader#3 from dart-lang/…
Browse files Browse the repository at this point in the history
…devoncarew-patch-1

Update README.md
  • Loading branch information
devoncarew committed Apr 21, 2015
2 parents 4dfedd1 + 9633184 commit 117d3c0
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions pkgs/test_reflective_loader/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,22 @@

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.
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 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 `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 solo_test() function.
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 `fail_` are expected to fail.

Methods with names starting with "solo_fail_" are run using solo_test() function
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.
Method returning `Future` class instances are asynchronous, so `tearDown()` is
executed after the returned `Future` completes.

## Features and bugs

Expand Down

0 comments on commit 117d3c0

Please sign in to comment.