[py-dev] using funcargs for setup/teardown
fdg001 at gmx.net
Tue Oct 20 21:02:47 CEST 2009
In a brief conversation with Holger today, I confessed that for a long
time I couldn't bring myself to properly read up on funcargs.
While I appreciate the obvious efforts that have gone into creating the
comprehensive documentation*, it did seem just a little intimidating.
(Also, I generally prefer reading code to reading prose.)
Anyway, I finally played around a bit with funcargs, and it actually
turned out to be fairly easy to get started:
While those code samples are certainly not perfect, I figured it might
be useful to share this naive quickstart approach with the class.
I'll need to do more reading to assess whether or how this fits into the
existing documentation though.
More information about the Pytest-dev