Skip to content

Commit

Permalink
Improved text
Browse files Browse the repository at this point in the history
  • Loading branch information
CleanCut committed Aug 14, 2014
1 parent fe8f9b8 commit 45115b5
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -316,14 +316,17 @@ class TestSchool(unittest.TestCase):

Notes:

1. Start all your test class names with `Test`, and always subclass
`unittest.TestCase`
1. Your test class must subclass `unittest.TestCase`. Technically, neither
unittest nor Green care what the test class is named, but to be consistent
with the naming requirements for directories, modules, and methods we
suggest you start your test class with `Test`.

2. Start all your test method names with `test`.

3. What a test class and/or its methods _actually test_ is entirely up to you.
In some sense it is an artform. Just use the test classes to group a bunch
of methods that seem logical to go together.
of methods that seem logical to go together. We suggest you try to test one
thing with each method.

4. The methods of `TestAnswer` have docstrings, while the methods on
`TestSchool` do not. For more verbose output modes, green will use the
Expand Down

0 comments on commit 45115b5

Please sign in to comment.