[TIP] A quick guide to testing (for the khmer project)

C. Titus Brown ctb at msu.edu
Wed Jul 23 08:02:38 PDT 2014

Yes, I know how TDD works, but I don't use it on my projects and I've found
that it is very difficult to teach.  YMMV but there you are :).


On Wed, Jul 23, 2014 at 03:00:01PM +0000, Marcin Tustin wrote:
> This encodes the code first, write tests afterward approach to development. It's bad because it's *hard*. It's hard to come up with good test cases post hoc, because there's a lot of analysis to do (which is made easier when you write the code, because you're already thinking of those things), and because code not written to be tested is more difficult to test. TDD solves these problems by merging the development and testing activities into one step.
> -----Original Message-----
> From: testing-in-python-bounces at lists.idyll.org [mailto:testing-in-python-bounces at lists.idyll.org] On Behalf Of C. Titus Brown
> Sent: Wednesday, July 23, 2014 10:12 AM
> To: tip at lists.idyll.org
> Subject: [TIP] A quick guide to testing (for the khmer project)
> http://khmer.readthedocs.org/en/docs-hackathon/dev/a-quick-guide-to-testing.html
> comments, thoughts?
> _______________________________________________
> testing-in-python mailing list
> testing-in-python at lists.idyll.org
> http://lists.idyll.org/listinfo/testing-in-python

C. Titus Brown, ctb at msu.edu

More information about the testing-in-python mailing list