[py-svn] r59664 - py/extradoc/talk/pycon-us-2009

hpk at codespeak.net hpk at codespeak.net
Sun Nov 2 19:04:53 CET 2008


Author: hpk
Date: Sun Nov  2 19:04:52 2008
New Revision: 59664

Added:
   py/extradoc/talk/pycon-us-2009/
   py/extradoc/talk/pycon-us-2009/proposal-pytest.txt   (contents, props changed)
Log:
first draft of proposal


Added: py/extradoc/talk/pycon-us-2009/proposal-pytest.txt
==============================================================================
--- (empty file)
+++ py/extradoc/talk/pycon-us-2009/proposal-pytest.txt	Sun Nov  2 19:04:52 2008
@@ -0,0 +1,75 @@
+Title: py.test - rapid testing with minimal effort
+Presenter: Holger Krekel <holger at merlinux.eu>
+Tutorial format: interactive lecture 
+Recording: i give permission to record and publish my PyCon tutorial for free distribution. 
+Intended Audience: beginner programmers 
+Maximum number of students: maybe 30 
+Perequisites/knowledge: basic knowledge of python programming
+Requirements: Attendees are welcome to bring their laptops with Python installed (version 2.4 or higher).
+
+Presenter bio: 
+
+Holger Krekel is a co-founder of the PyPy project and
+participates on many levels in it.  He is the initiator and
+maintainer of the popular py.test and a few other tools.  In
+2004 he founded merlinux, a company organising itself
+virtually, mostly with european developers from PyPy and
+py.test contexts.  Holger has presented on PyPy and py.test 
+on many EuroPython and PyCon confereces and has given well
+received testing tutorials at EuroPython 2008 and Pycon-UK 2008. 
+
+Tutorial Summary: 
+
+XXX
+This tutorial talk introduces usage of py.test, a popular tool
+for writing and running automated tests. We walk through the
+implementation of tests, layered setup of test state and how
+to write project specific or global extensions. We discuss the
+current feature set including extensions for generating HTML
+pages, running tests for other languages such as Javascript
+or for distributing tests across machines. 
+
+
+Outline for review:
+
+Terminology/Overview (15 minutes) 
+- developer and "customer" tests 
+- small/medium/big tests aka unit/functional/integration 
+- acceptance tests 
+- benefits of automated testing 
+- existing python testing tools
+
+Basic usage of py.test (45 minutes)
+- installation 
+- test functions, test classes 
+- setup and teardown test state 
+- skipping tests
+- generative tests
+- doctests 
+- skipping chunks within doctests 
+- looponfailing: run large test set until all tests pass 
+
+Using existing extensions (30 minutes)
+- integrate collection/run of traditional unit-tests
+- run functions in their own tempdir 
+- testing ReST documents
+- running Javascript tests
+- running Prolog tests 
+- html reporting for nightly runs 
+
+Writing extensions (30 minutes)
+- event system for reporting 
+- conftest.py mechanism 
+- test collection hooks 
+- test running hooks 
+- writing cross-project plugins 
+
+Distributed testing (30 minutes) 
+- motivation/vision
+- run your tests on multiple CPUs/multicore 
+- running tests on multiple machines at once 
+- running tests cross-platform 
+- do's and dont's for cross-process testing 
+
+Buffer and Questions & Answers
+ 



More information about the pytest-commit mailing list