From 18b5ddc4dd92f4fc8faca0cc2d8a5ce1e5b49a34 Mon Sep 17 00:00:00 2001 From: holger krekel Date: Tue, 9 Feb 2010 18:32:17 +0100 Subject: [PATCH] note down two issues after having helped prologic - also related to earlier discussions with ronny and others. --HG-- branch : trunk --- ISSUES.txt | 20 ++++++++++++++++++++ doc/test/talks.txt | 7 +++++++ 2 files changed, 27 insertions(+) diff --git a/ISSUES.txt b/ISSUES.txt index 543a917f5..0802c0afc 100644 --- a/ISSUES.txt +++ b/ISSUES.txt @@ -17,6 +17,26 @@ with documentation and add "py.test --marks" to get a list of available marks. Deprecate "dynamic" mark definitions. +do early-teardown of test modules +----------------------------------------- +tags: feature 1.3 + +currently teardowns are called when the next tests is setup +except for the function/method level where interally +"teardown_exact" tears down immediately. Generalize +this to perform the "neccessary" teardown compared to +the "next" test item during teardown - this should +get rid of some irritations because otherwise e.g. +prints of teardown-code appear in the setup of the next test. + +do recursive walk of conftest.py files? +----------------------------------------- +tags: feature 1.3 + +it maybe makes sense to generally do a recursive search of conftest.py +files before command line parsing - this would help to offer the +full list of options as applicable to a given test project. + consider introducing py.test.mark.skip_[not]win32/jython/pyXY ------------------------------------------------------------- tags: feature 1.3 diff --git a/doc/test/talks.txt b/doc/test/talks.txt index c7357f3d3..796564d8f 100644 --- a/doc/test/talks.txt +++ b/doc/test/talks.txt @@ -7,6 +7,13 @@ Talks and Tutorials tutorial examples and blog postings --------------------------------------------- +.. _`tutorial1 repository`: http://bitbucket.org/hpk42/pytest-tutorial1/ +.. _`pycon 2010 tutorial PDF`: http://bitbucket.org/hpk42/pytest-tutorial1/raw/tip/pytest-basic.pdf + +basic usage and funcargs: + +- `pycon 2010 tutorial PDF`_ and `tutorial1 repository`_ + function arguments: - `application setup in test functions with funcargs`_