[py-svn] r63221 - py/extradoc/talk/pycon-us-2009/pytest-advanced
hpk at codespeak.net
hpk at codespeak.net
Mon Mar 23 03:30:33 CET 2009
Author: hpk
Date: Mon Mar 23 03:30:32 2009
New Revision: 63221
Modified:
py/extradoc/talk/pycon-us-2009/pytest-advanced/pytest-advanced.txt
Log:
a bit of streamlining of slides
Modified: py/extradoc/talk/pycon-us-2009/pytest-advanced/pytest-advanced.txt
==============================================================================
--- py/extradoc/talk/pycon-us-2009/pytest-advanced/pytest-advanced.txt (original)
+++ py/extradoc/talk/pycon-us-2009/pytest-advanced/pytest-advanced.txt Mon Mar 23 03:30:32 2009
@@ -1,3 +1,6 @@
+.. include:: beamerdefs.txt
+.. include:: <s5defs.txt>
+
Terminology/Overview (20 minutes)
============================================================================
@@ -12,7 +15,7 @@
=======================================
- Benefits of automated tests
-- small/medium/big tests aka unit/functional/integration
+- small/medium/big tests aka unit/functional/acceptance
- acceptance tests
- benefits of automated testing
- related testing tools
@@ -31,7 +34,7 @@
- developer and "customer" tests
- unit tests
- functional tests
-- integration / system tests
+- acceptance tests
Small Tests
==============================
@@ -75,7 +78,7 @@
http://marikaz.deviantart.com/ CC 3.0 AN-ND
-If you want to try yourself
+Install py.test
============================
- svn checkout http://codespeak.net/svn/py/dist
@@ -221,11 +224,12 @@
Customizing py.test
===========================
-- modify/extend the test collection process
-- add command line options
-- register to reporting events (trunk/1.0)
-- write conftest.py files
- write local or global plugins
+- write conftest.py files
+
+- add command line options
+- modify/extend the test collection process
+- register to reporting events
- for debugging::
py.test --collectonly
@@ -255,25 +259,11 @@
Interactive demo "collection tree"
====================================
-you can inspect at the test collection tree
+you can always inspect the test collection tree
tree without running tests::
py.test --collectonly
-Collector nodes
-====================================
-
-Collector nodes:
-
-- ``collect()`` method provides a list of children
-- children may be collector nodes or runnable test items
-- Collection nodes are not tied to Directory/the file system
-
-Test Item nodes
-====================================
-
-- ``runtest()`` is called for executing a test
-
Specifying plugins
========================
More information about the pytest-commit
mailing list