Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #18644 > unrolled thread
| Started by | Peter Otten <__peter__@web.de> |
|---|---|
| First post | 2012-01-07 14:12 +0100 |
| Last post | 2012-01-07 14:12 +0100 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: your feedback to my first project please Peter Otten <__peter__@web.de> - 2012-01-07 14:12 +0100
| From | Peter Otten <__peter__@web.de> |
|---|---|
| Date | 2012-01-07 14:12 +0100 |
| Subject | Re: your feedback to my first project please |
| Message-ID | <mailman.4511.1325941958.27778.python-list@python.org> |
patrick@bierans.de wrote: > I know the TestCases are ugly, I still have no feeling for it. I forgot to mention: instead of testing each and every thing in one big method put each test into a short dedicated TestCase.test_... method. That reduces the risk of undetected side effects and often allows you to learn what went wrong from the -- thoroughly chosen ;) -- name of the test method alone. coverage.py is a good tool to give you an idea of what portion of your module code is covered by your tests.
Back to top | Article view | comp.lang.python
csiph-web