Commit Graph

23 Commits

Author SHA1 Message Date
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 8182d341a5 rename "api" into "hook" in most places.
--HG--
branch : trunk
2009-05-07 18:01:53 +02:00
holger krekel f0a277008a fix a bug
--HG--
branch : trunk
2009-04-14 17:25:59 +02:00
hpk 0b554bf925 [svn r63917] remove now unused code
--HG--
branch : trunk
2009-04-09 23:09:54 +02:00
hpk fb7ff9a8c2 [svn r63908] first step in only allowing keyword arguments to plugin calls
--HG--
branch : trunk
2009-04-09 18:55:11 +02:00
hpk f8fc229917 [svn r63905] * have pytest pluginmanager do multicalls for registration
* more renaming

--HG--
branch : trunk
2009-04-09 17:03:58 +02:00
hpk 248093e61a [svn r63899] more consistent naming
--HG--
branch : trunk
2009-04-09 16:34:53 +02:00
hpk a4863c3f7b [svn r63896] more renames, killing redundant code
--HG--
branch : trunk
2009-04-09 16:21:07 +02:00
hpk 5d271b2bde [svn r63894] grand renaming on plugin-related mostly internal objects.
--HG--
branch : trunk
2009-04-09 16:03:09 +02:00
hpk cd038ee708 [svn r63888] finally. the event concept is basically gone.
now we only have plugin hooks aka plugin calls

--HG--
branch : trunk
2009-04-09 02:36:07 +02:00
hpk e6234fdb61 [svn r63883] * moving many more events to become ordinary plugin hook calls.
* bit hackish because the code for handling the old events is
  also still there ...

--HG--
branch : trunk
2009-04-09 01:33:48 +02:00
hpk 66c64e6b97 [svn r63869] * moving execnet events to become api plugin calls.
* defining Execnet hooks in an explicit API

--HG--
branch : trunk
2009-04-08 19:50:14 +02:00
hpk b6b060c1d0 [svn r63845] introduce new _pytest plugin that allows to selectively record
plugin calls and do assertions about them.

--HG--
branch : trunk
2009-04-08 17:15:56 +02:00
hpk f14fc582e9 [svn r63808] * refinements/renames to new PluginAPI
* have pytest_runner start to use it, passes the main test

--HG--
branch : trunk
2009-04-07 22:46:50 +02:00
hpk 50664c1e17 [svn r63806] adding a MultiAPI helper for managing plugin APIs.
--HG--
branch : trunk
2009-04-07 22:22:52 +02:00
hpk e7e1b2725b [svn r63562] fixing _com regarding pyevents as well
--HG--
branch : trunk
2009-04-03 12:59:34 +02:00
hpk 069ab6ff5f [svn r63547] renaming all event consumers to use the "__" convention that
is also used for funcargs.

--HG--
branch : trunk
2009-04-02 19:58:51 +02:00
hpk 74958be548 [svn r63300] * refining pyfuncarg setup, now there is explicit registration!
* porting monkeypatch and pytester funcargs to the new method
* fixing a kind-of-a-bug with MultiCalls

--HG--
branch : trunk
2009-03-24 23:00:07 +01:00
hpk 2aae6540ff [svn r63188] allow reversed retrieval of methods
--HG--
branch : trunk
2009-03-21 16:14:22 +01:00
hpk 6a1db0a594 [svn r63162] all tests pass again, output on test node setup and initialization is now much nicer.
--HG--
branch : trunk
2009-03-21 02:31:27 +01:00
hpk 2d98dbfc81 [svn r62614] implementing __call__.exclude_other_results() to allow plugin hooks to
exclude results from other plugins.

--HG--
branch : trunk
2009-03-05 23:35:35 +01:00
hpk 1f70447dde [svn r62281] allowing a plugin to see its registration and unregistration events.
--HG--
branch : trunk
2009-03-01 08:50:45 +01:00
hpk c17a09adaf [svn r62211] merge 60797:HEAD of pytestplugin branch:
this merge contains:

* a new plugin architecture
* a pluginized pytest core
* many pytest related refactorings
* refactorings/streamlining of pytest's own tests

--HG--
branch : trunk
2009-02-27 11:18:27 +01:00