[TIP] Friendly py.test intro
holger krekel
holger at merlinux.de
Sun Jan 6 08:41:23 PST 2008
Hi Titus, all!
On Sun, Jan 06, 2008 at 00:37 -0800, Titus Brown wrote:
> Hi all,
>
> here's a product of GHOP written by novanasa:
>
> 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!
> I think with a bit of cleanup it could be quite useful.
> Comments are
> welcome (here or directly on the issue, at
>
> http://code.google.com/p/google-highly-open-participation-psf/issues/detail?id=269
>
> )
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).
> 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.
best & cheers,
holger
--
merlinux GmbH
http://merlinux.de
More information about the testing-in-python
mailing list