[py-svn] r57964 - py/extradoc/talk/pycon-uk-2008
hpk at codespeak.net
hpk at codespeak.net
Mon Sep 8 12:51:33 CEST 2008
Author: hpk
Date: Mon Sep 8 12:51:31 2008
New Revision: 57964
Modified:
py/extradoc/talk/pycon-uk-2008/pytest.txt
Log:
finalizing pytest talk for pycon uk
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 12:51:31 2008
@@ -94,7 +94,6 @@
- py.test automatically collects ``test_*`` functions
- use ``py.test --collectonly`` to inspect collection
- you can write tests at module global level
-- no need to subclass "TestCases" like in unittest
- assertion failures provide detailed info
@@ -111,7 +110,7 @@
yield check, x
-Useful Features
+Other useful features
============================
- stdout/stderr is captured per-test
@@ -136,7 +135,7 @@
Setup and Teardown of test state
==================================
-let's revisit the above ``test_local.py``:
+look again at the above ``test_local.py``:
class LocalSetup:
def setup_class(cls):
More information about the pytest-commit
mailing list