@@ -3,7 +3,7 @@ Testing Your Code
33
44Testing your code is very important.
55
6- Getting used to writting the testing code and the running code in parallel is
6+ Getting used to writing the testing code and the running code in parallel is
77now considered a good habit. Used wisely, this method helps you define more
88precisely your code's intent and have a more decoupled architecture.
99
@@ -39,7 +39,7 @@ Some general rules of testing:
3939
4040- If you are in the middle of a development and have to interrupt your work, it
4141 is a good idea to write a broken unit test about what you want to develop next.
42- When comming back to work, you will have a pointer to where you were and get
42+ When coming back to work, you will have a pointer to where you were and get
4343 faster on tracks.
4444
4545- The first step when you are debugging your code is to write a new test
@@ -48,7 +48,7 @@ Some general rules of testing:
4848
4949- Use long and descriptive names for testing functions. The style guide here is
5050 slightly different than that of running code, where short names are often
51- preferred. The reason is testing functions are never called explicitely .
51+ preferred. The reason is testing functions are never called explicitly .
5252 ``square() `` or even ``sqr() `` is ok in running code, but in testing code you
5353 would has names such as ``test_square_of_number_2() ``,
5454 ``test_square_negative_number() ``. These function names are displayed when a
@@ -61,7 +61,7 @@ Some general rules of testing:
6161 purpose is unclear is not very helpful is this case.
6262
6363- Another use of the testing code is as an introduction to new developers. When
64- someone will have to work on the code base, runnning and reading the related
64+ someone will have to work on the code base, running and reading the related
6565 testing code is often the best they can do. They will or should discover the
6666 hot spots, where most difficulties arise, and the corner cases. If they have
6767 to add some functionality, the first step should be to add a test and, by this
@@ -214,15 +214,15 @@ multiple interpreter configurations
214214
215215 $ pip install tox
216216
217- tox allows you to configure complicatated multi-parameter test matrices via a
217+ tox allows you to configure complicated multi-parameter test matrices via a
218218simple ini-style configuration file.
219219
220220 `tox <http://tox.testrun.org/latest/ >`_
221221
222222Unittest2
223223---------
224224
225- unittest2 is a a backport of Python 2.7's unittest module which has an improved
225+ unittest2 is a backport of Python 2.7's unittest module which has an improved
226226API and better assertions over the one available in previous versions of Python.
227227
228228If you're using Python 2.6 or below, you can install it with pip
0 commit comments