Skip to content

Commit 1fb99e5

Browse files
committed
Fixed some typos in writing/tests
1 parent 9a27906 commit 1fb99e5

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

docs/writing/tests.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ Some general rules of testing:
2020

2121
- Try hard to make tests that run fast. If one single test needs more than a
2222
few millisecond to run, development will be slowed down or the tests will not
23-
be run as often as desirable. I some cases, test can't be fast because they
23+
be run as often as desirable. In some cases, test can't be fast because they
2424
need a complex data structure to work on, and this data structure must be loaded
25-
every time the test runs. Keep this heavier tests in a separate test suite
25+
every time the test runs. Keep these heavier tests in a separate test suite
2626
that is run by some scheduled task, and run all other tests as often as needed.
2727

2828
- Learn your tools and learn how to run a single test or a test case. Then,
@@ -59,7 +59,7 @@ Some general rules of testing:
5959
be read as much as or even more than the running code. A unit test whose
6060
purpose is unclear is not very helpful is this case.
6161

62-
- Another use of the testing code is as an introduction to new developpers. When
62+
- Another use of the testing code is as an introduction to new developers. When
6363
someone will have to work on the code base, runnning and reading the related
6464
testing code is often the best they can do. They will or should discover the
6565
hot spots, where most difficulties arise, and the corner cases. If they have to

0 commit comments

Comments
 (0)