Matt Harrison will be presenting on modern testing in Python: doctest,
unittest, figleaf, and nose.
This will be a "hands-on" presentation; bring your laptop, if you have
one. Hopefully we'll have at least 50% laptops so we can pair program
the exercises.
Doctest is already on my list of "tools every programmer should use"
and I've heard a lot of praise for figleaf and nose so I am looking
forward to hearing what Matt has to teach us.
7:00 at our usual location at the U; directions / maps on http://utahpython.org
-Jonathan
Dave
Woot! I get to come! First time ever for me.
Cheers,
Clint
doctest and unittest are part of the stdlib. It wouldn't hurt to
install figleaf and nose ahead of time:
easy_install http://darcs.idyll.org/~t/projects/figleaf-latest.tar.gz
easy_install nose
I'll also bring a copy on a thumb drive just in case anyone has
wireless trouble.
-Jonathan
Here's my current plan. Brief overview of
* unittest
* doctest
* how to determine effectiveness of tests
* coverage
* Hands on testing. Bring your own code (laptop too) you want to
test, or I'll be bringing some simple code for people to test. Try
and get good coverage on the code, using the tools presented. If you
don't have a laptop you can pair up with someone who does.
* Brief wrap up/bragging of hands on testing
Like Jonathon, I'll try and bring a cd and thumbdrive containing the
various sources (perhaps they'll be on my website [1] on Thursday).
But try to have easy_install working before hand to simplify things.
If there are any more questions/comments please post them.
-matt
0 - http://sourceforge.net/projects/pymetrics/
1 - http//panela.blog-city.com/