Thursday's presentation: testing

0 views
Skip to first unread message

Jonathan Ellis

unread,
Nov 5, 2007, 1:53:58 PM11/5/07
to utahp...@googlegroups.com
Testing is like taking your vitamins: everyone knows you should do it,
but sometimes it's hard to get into the habit.

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

tonedevf

unread,
Nov 5, 2007, 5:13:06 PM11/5/07
to utahp...@googlegroups.com
Will the installation of these test suites/tools/stuffz be included in the
meeting or should we arrive with them already in place?

Dave

Clint Savage

unread,
Nov 5, 2007, 5:25:30 PM11/5/07
to utahp...@googlegroups.com
On 11/5/07, tonedevf <tone...@gmail.com> wrote:
>
> Will the installation of these test suites/tools/stuffz be included in the
> meeting or should we arrive with them already in place?
>
> Dave

Woot! I get to come! First time ever for me.

Cheers,

Clint

Jonathan Ellis

unread,
Nov 5, 2007, 6:02:18 PM11/5/07
to utahp...@googlegroups.com
On Nov 5, 2007 3:13 PM, tonedevf <tone...@gmail.com> wrote:
>
> Will the installation of these test suites/tools/stuffz be included in the
> meeting or should we arrive with them already in place?

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

Matt Harrison

unread,
Nov 6, 2007, 1:00:39 PM11/6/07
to Utah Python User Group
I'll briefly be mentioning PyMetrics [0] as well. So try to install
that too.

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/

Reply all
Reply to author
Forward
0 new messages