Commit Graph

55 Commits

Author SHA1 Message Date
holger krekel c2415d7eee rename api to hookspec and use direct modules instead of class
--HG--
branch : trunk
2009-06-11 14:48:53 +02:00
holger krekel ed216e77d0 document and refine/rename item **runtest** hook invocations
capture output separately for fixture and actual test run

--HG--
branch : trunk
2009-06-09 16:08:34 +02:00
holger krekel d16688a1e6 * rename, cleanup and document runtest hooks
* factor runner code into pytest_runner plugin
* cleanup setupstate handling

--HG--
branch : trunk
2009-06-08 18:31:10 +02:00
holger krekel a93918a480 integrate plugin hook checking directly when registering
remove plugintester plugin, all functionality now in testdir

--HG--
branch : trunk
2009-05-22 23:50:35 +02:00
holger krekel bcd9aed0b1 * introduce pytest_pdb: plugin handling --pdb invocation
* killing some unused/unneccessary hooks

--HG--
branch : trunk
2009-05-22 19:57:21 +02:00
holger krekel b8926f59da make setupevent tests of pytest_runner.py work
--HG--
branch : trunk
2009-05-22 19:56:05 +02:00
holger krekel f2b1eb5bba add a very basic test and include _pytest dependency. thanks pedronis.
--HG--
branch : trunk
2009-05-21 15:22:01 +02:00
holger krekel ec34e9423e rename sorter to reprec (report-recorder)
--HG--
branch : trunk
2009-05-21 14:33:09 +02:00
holger krekel a58292b473 * streamline hookrecording and global py._com.comregistry patching
* this fixes a reporting bug where events from inner test runs would
  mix with the outer test run

--HG--
branch : trunk
2009-05-21 09:45:43 +02:00
holger krekel d1f24aa251 plugin cleanups
* make pytest_eventlog.py work again by adding a hack to the registry, rename
* disable resultdb hook plugin, it needs merging with resultlog
* add some docstrings, streamline bits

--HG--
branch : trunk
2009-05-20 23:12:37 +02:00
holger krekel 1973817f11 rename recorder functionality, unify interfaces
--HG--
branch : trunk
2009-05-19 19:25:21 +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 1e84a3c451 fixing a windows issues
--HG--
branch : trunk
2009-05-07 21:04:56 +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 61885cd825 provide testdir.spawn_pytest for pexpect mediated interaction tests,
kill code, yay.

--HG--
branch : trunk
2009-05-06 11:47:48 +02:00
holger krekel 170e48d946 fix import issue
--HG--
branch : trunk
2009-04-28 23:49:03 +02:00
holger krekel 5e03bdad84 bringing docs and funcargs in sync
--HG--
branch : trunk
2009-04-14 19:57:00 +02:00
holger krekel 763d0d72a5 funcargs work mostly according to the documentation
--HG--
branch : trunk
2009-04-14 18:30:26 +02:00
hpk f319a84503 [svn r63910] removing old mentionings of "bus". docstrings.
--HG--
branch : trunk
2009-04-09 20:07:05 +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 5d271b2bde [svn r63894] grand renaming on plugin-related mostly internal objects.
--HG--
branch : trunk
2009-04-09 16:03:09 +02:00
hpk cd322bd528 [svn r63889] renaming/streamlining missing event usage
--HG--
branch : trunk
2009-04-09 02:45:46 +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 0c4fc99a6f [svn r63887] move rest of events
--HG--
branch : trunk
2009-04-09 02:12:10 +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 10e267b7b6 [svn r63786] rename CollectionReport to CollectReport, remove XXX.
--HG--
branch : trunk
2009-04-07 13:51:55 +02:00
hpk a37c32783d [svn r63785] further renaming, streamlining the testing machinery and helpers.
--HG--
branch : trunk
2009-04-07 12:48:57 +02:00
hpk 5b31dfe357 [svn r63780] some renaming
--HG--
branch : trunk
2009-04-07 11:53:01 +02:00
hpk ba6eca8da4 [svn r63628] * shuffle SetupState and fixture handling into runner.py
* introduce a itemsetupreport and new setupitem/teardownitem methods.
* more tests

--HG--
branch : trunk
2009-04-04 21:06:20 +02:00
hpk 4aeb929b3c [svn r63600] merge remaining content of event.py into runner.py.
--HG--
branch : trunk
2009-04-04 02:34:20 +02:00
hpk 85635e1239 [svn r63575] killing yet more test "events" and redundant code
--HG--
branch : trunk
2009-04-03 18:26:21 +02:00
hpk 45e0499f10 [svn r63566] the InternalException event class bites the dust.
--HG--
branch : trunk
2009-04-03 16:18:47 +02:00
hpk 54cc936437 [svn r63560] beginning to review/polish test events
* pyevent() now receives args and kwargs as simple arguments
* refactoring event handling in tests

--HG--
branch : trunk
2009-04-03 12:57:34 +02:00
hpk 371a6b9de9 [svn r63461] a few fixes, now figleaf writes files correctly.
also changed figleaf plugin to include only
the files of the current working dir.

--HG--
branch : trunk
2009-03-31 19:58:02 +02:00
hpk 662e6905ef [svn r63359] change funcargs naming to use __
--HG--
branch : trunk
2009-03-26 13:50:12 +01:00
hpk 92e354a486 [svn r63339] undo rev 63000 so that there is only one method now for funcargs
--HG--
branch : trunk
2009-03-26 10:26:09 +01: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 ad6afe21ff [svn r63209] polish command line options for distributed testing.
--HG--
branch : trunk
2009-03-22 18:41:36 +01:00
hpk d9242d2a75 [svn r63054] several windows fixes, test suite passes now remotely.
--HG--
branch : trunk
2009-03-18 21:49:38 +01:00
hpk 5f25395cdd [svn r63051] be very careful when we cannot unpickle an
colitem because its parent can't collect
the same way as on the sending side.
(due to platform skips etc.)

--HG--
branch : trunk
2009-03-18 20:23:38 +01:00
hpk 941d06e509 [svn r63040] try harder to record and auto-exit gateways after test runs
--HG--
branch : trunk
2009-03-18 16:51:55 +01:00
hpk 772658d616 [svn r63028] allow py.test --exec=python2.4 -n 3 to work
and fix some bugs from doing so.

--HG--
branch : trunk
2009-03-18 13:05:18 +01:00
hpk d626a63934 [svn r63017] rename colitem._config to colitem.config - it's an official attribute
--HG--
branch : trunk
2009-03-18 00:48:07 +01:00
hpk c8d679ac95 [svn r62995] try to contain session test tempdirs in one parent
--HG--
branch : trunk
2009-03-17 13:22:14 +01:00
hpk 8a8ae5fe5d [svn r62994] introducing internal MultiGateway class
--HG--
branch : trunk
2009-03-17 12:53:09 +01:00
hpk 7ed26c2929 [svn r62993] * moving ensuretemp to config object
* adding --basetemp option
* added/rewrote some tests

--HG--
branch : trunk
2009-03-17 11:29:45 +01:00
hpk 771ce92fdf [svn r62981] allowing conftest to set default values for options
--HG--
branch : trunk
2009-03-17 07:10:40 +01:00
hpk b5a1f95856 [svn r62978] * introduce --hosts and --rsyncdirs optiosn
* re-sort option groups, disable some options for now
* add docstrings to execnet gatewaymanage
* streamline tests a bit
* unify debugging and tracing

--HG--
branch : trunk
2009-03-16 22:17:14 +01:00
hpk 65b75cead6 [svn r62611] yay, the global setupstate died. I guess what kept me from doing that
was all kinds of tests breaking.  but they are cleaned up now.
so there was no problem. nice.

--HG--
branch : trunk
2009-03-05 22:10:18 +01:00
hpk 62b36a91a0 [svn r62610] finally fixed a bug related to the global SetupState
for test functions.  streamlined  testdir.inline_run
functions.  well killed most of them.

--HG--
branch : trunk
2009-03-05 22:01:08 +01:00