holger krekel
7d86827b5e
ref #322 cleanup all teardown calling to only happen when setup succeeded.
...
don't use autouse fixtures for now because it would cause a proliferation
and overhead for the execution of every test. Rather introduce a
node.addfinalizer(fin) to attach a finalizer to the respective node
and call it from node.setup() functions if the setup phase succeeded
(i.e. there is no setup function or it finished successfully)
2013-08-02 09:52:40 +02:00
holger krekel
6ad16936bb
bump version to 2.3.2, regen docs and changelog
2012-10-25 13:48:31 +02:00
holger krekel
30b10a6950
- fix doc references, refactor fixtures docs to more quickly start
...
with examples instead of big text blobgs
- also silence -q and -qq reporting some more
2012-10-07 13:06:17 +02:00
holger krekel
439cc1238f
merge factories/funcargs and setup functions into the new "fixture" document
2012-10-05 10:21:35 +02:00
holger krekel
6746a00cb8
majorly refine funcargs docs and rename "resources.txt" to "funcargs.txt" so that existing web links will eventually land at this new page when pytest is released. Also integrated the detailed reasoning and update setup function docs
...
to reflect latest discussions and feedback gathered on py-dev mailing list.
2012-08-03 19:08:27 +02:00
holger krekel
ae241a5071
refine documentation, move setup to own "setup" page and provide
...
some more examples. move old setup_module/... to xunit_old page.
2012-08-02 12:07:54 +02:00
t2y
9198069739
added "docs/en" directory and moved
2012-06-06 08:52:53 +09:00