holger krekel
dcee9bdd6e
* create funcarg Request object only once per function run setup
...
* add getfuncargvalue() for retrieving arbitrary funcargs from a provider
--HG--
branch : trunk
2009-05-21 09:45:43 +02:00
holger krekel
191d02aef2
* refactor plugin support to work directly with
...
modules, no classes required anymore.
* call funcarg hook if defined on class
--HG--
branch : trunk
2009-05-18 23:26:16 +02:00
holger krekel
4035fa6326
get to a workable state for cached_setup() and docs, move msot related code to SetupState class
...
--HG--
branch : trunk
2009-05-18 19:06:16 +02:00
holger krekel
19c9506fa3
addcall now takes direct funcargs values alternatively
...
--HG--
branch : trunk
2009-05-13 03:01:02 +02:00
holger krekel
1e3acc66d6
implement funcargs according to docs, streamline docs
...
--HG--
branch : trunk
2009-05-12 23:32:19 +02:00
holger krekel
b40c3d5110
catch duplicate _id values
...
--HG--
branch : trunk
2009-05-12 02:16:02 +02:00
holger krekel
ebb0de4ff7
adding _id parameter to addcall, refinements
...
--HG--
branch : trunk
2009-05-12 02:05:59 +02:00
holger krekel
c3f3dc653e
rename hook, rename addfuncarg to addcall interface,
...
forget about combinations of funcargs.
--HG--
branch : trunk
2009-05-12 01:38:09 +02:00
holger krekel
d9ad2cf761
merging the new function generators, addresses issue 2
...
- introduce a new pytest_genfuncruns hook for generating tests with multiple funcargs
- new and extended docs: doc/test/funcargs.txt
- factor all funcargs related code into py/test/funcargs.py
- remove request.maketempdir call (you can use request.config.mktemp)
--HG--
branch : trunk
2009-05-11 19:23:57 +02:00
holger krekel
a72b351139
* performing funcarg setup during setup-phase
...
* make item.runtest() be a clean function and have
the caller deal with the deprecated invocation
--HG--
branch : trunk
2009-05-06 08:38:42 +02:00
holger krekel
e976fb36fd
finalized docs and funcarg attributes, i think
...
--HG--
branch : trunk
2009-04-14 21:36:57 +02:00
holger krekel
5e03bdad84
bringing docs and funcargs in sync
...
--HG--
branch : trunk
2009-04-14 19:57:00 +02:00
holger krekel
792dce025c
fix reporting failure
...
--HG--
branch : trunk
2009-04-14 19:24:45 +02:00
holger krekel
763d0d72a5
funcargs work mostly according to the documentation
...
--HG--
branch : trunk
2009-04-14 18:30:26 +02:00
holger krekel
de4c2dc98d
implement request object as per docs
...
--HG--
branch : trunk
2009-04-14 02:59:50 +02:00
holger krekel
70840f605e
move tests to test_funcargs.py and start with new request object tests
...
--HG--
branch : trunk
2009-04-14 02:23:42 +02:00