[TIP] Friendly py.test intro

Titus Brown titus at caltech.edu
Sun Jan 6 12:00:18 PST 2008


On Sun, Jan 06, 2008 at 05:41:23PM +0100, holger krekel wrote:
-> >   http://teckla.idyll.org/~t/transfer/py.test.html
-> > 
-> > It's a simple introduction to py.test.
-> 
-> many thanks, it's accurate and useful, i think!

Great!

-> I wonder if novanasa  is aware that py.test provides
-> checking of RST syntax and links?
-> 
-> This is how it works: if you drop
-> 
->     http://codespeak.net/svn/py/dist/py/doc/conftest.py
-> 
-> into a directory py.test will run RST related checks
-> on text files, i.e. files matching "*.txt". 
-> You may modify the conftest.py to look for "*.rst" files
-> instead, of course.  The conftest also adds some interesting
-> command line options (issue "py.test -h" while being in the directory).

Cool, thanks, I'll forward this on to him.

-> > Does anyone have any ideas on where to host it?
-> 
-> We could place a link from the main page to 
-> the tutorial or we could probably also put
-> it somewhere on codespeak. 

Well, right now it's in an unstable location.  If the py.test people are
willing to "maintain" it (perhaps clean it up & otherwise take
responsibility) I think codespeak is a good place; otherwise I can put
it up on my own site, with the caveat that I don't actually use py.test.
Up to you guys!

Note that it must be released under an open content license, so there
are lots of legit options.

--titus



More information about the testing-in-python mailing list