Skip to content

Commit

Permalink
Merge pull request #3 from dart-lang/devoncarew-patch-1
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
devoncarew committed Apr 21, 2015
2 parents 233fd6b + 58b9c6f commit 87ef0be
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions 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 87ef0be

Please sign in to comment.