mirror of
https://github.com/kennethreitz/python-guide.git
synced 2026-06-05 23:00:18 +00:00
copy edits
This commit is contained in:
@@ -19,8 +19,8 @@ Some general rules of testing:
|
||||
usually handled by :meth:`setUp()` and :meth:`tearDown()` methods.
|
||||
|
||||
- Try hard to make tests that run fast. If one single test needs more than a
|
||||
few millisecond to run, development will be slowed down or the tests will
|
||||
not be run as often as desirable. In some cases, tests can't be fast because
|
||||
few milliseconds to run, development will be slowed down or the tests will
|
||||
not be run as often as is desirable. In some cases, tests can't be fast because
|
||||
they need a complex data structure to work on, and this data structure must
|
||||
be loaded every time the test runs. Keep these heavier tests in a separate
|
||||
test suite that is run by some scheduled task, and run all other tests as
|
||||
|
||||
Reference in New Issue
Block a user