[py-svn] r57965 - py/extradoc/talk/pycon-uk-2008
hpk at codespeak.net
hpk at codespeak.net
Mon Sep 8 13:29:56 CEST 2008
Author: hpk
Date: Mon Sep 8 13:29:54 2008
New Revision: 57965
Modified:
py/extradoc/talk/pycon-uk-2008/author.latex
py/extradoc/talk/pycon-uk-2008/pytest.pdf
py/extradoc/talk/pycon-uk-2008/pytest.txt
Log:
fixed formatting glitches
Modified: py/extradoc/talk/pycon-uk-2008/author.latex
==============================================================================
--- py/extradoc/talk/pycon-uk-2008/author.latex (original)
+++ py/extradoc/talk/pycon-uk-2008/author.latex Mon Sep 8 13:29:54 2008
@@ -1,6 +1,6 @@
\definecolor{rrblitbackground}{rgb}{0.0, 0.0, 0.0}
-\title[pytest - rapid testing with minimal effort]{rapid testing with minimal effort}
+\title[py.test - rapid testing with minimal effort]{py.test: rapid testing with minimal effort}
\author[H. Krekel]{Holger Krekel \\Merlinux GmbH}
\institute[PyCon UK 2008]{PyCon UK 2008 - Birmingham}
Modified: py/extradoc/talk/pycon-uk-2008/pytest.pdf
==============================================================================
Binary files. No diff available.
Modified: py/extradoc/talk/pycon-uk-2008/pytest.txt
==============================================================================
--- py/extradoc/talk/pycon-uk-2008/pytest.txt (original)
+++ py/extradoc/talk/pycon-uk-2008/pytest.txt Mon Sep 8 13:29:54 2008
@@ -135,7 +135,7 @@
Setup and Teardown of test state
==================================
-look again at the above ``test_local.py``:
+look again at the above ``test_local.py``::
class LocalSetup:
def setup_class(cls):
@@ -181,6 +181,7 @@
- add command line options
- influence the collection process
- for debugging::
+
py.test --collectonly
py.test --traceconfig
@@ -205,18 +206,6 @@
- test collection usually starts from directories or files
- **dynamic lookup in conftest.py files**
-Example conftest.py: control directory traversal
-===================================================
-
-a conftest.py to influence collection::
-
- import py
- mydir = py.magic.autopath().dirpath()
- class Directory(py.test.collect.Directory):
- def recfilter(self, path):
- if path.dirpath() == mydir:
- return path.basename in ('x', 'y', 'z')
- return super(Directory, self).recfilter(path)
Example conftest.py: add ReST check support
==============================================
@@ -321,5 +310,6 @@
links:
http://pylib.org http://pytest.org
+
http://merlinux.eu - holger at merlinux.de
-https://codespeak.net/svn/py/extradoc/talk/ep2008/pytest.txt
+
More information about the pytest-commit
mailing list