Commit Graph

53 Commits

Author SHA1 Message Date
holger krekel 8b7dfb29c5 re-introduce py.test.mark and move py.test.xfail to py.test.mark.xfail
--HG--
branch : 1.0.x
2009-06-28 13:27:34 +02:00
holger krekel 82d40724fa fixing docs, adding newest ez_setup.py, fixing a few win32 failures, fixing iocapture plugin
--HG--
branch : trunk
2009-06-18 19:02:59 +02:00
holger krekel 4a48a50e3b * introduce and document new pytest_namespace hook
* remove py.test.mark helper
* move xfail to work directly on py.test namespace, simplified

--HG--
branch : trunk
2009-06-18 17:19:12 +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 db2ef3e9e8 * rename testrunstart/finish to sessionstart and pass it an argument
* simplify pyexecnetcleanup plugin

--HG--
branch : trunk
2009-05-22 21:53:26 +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 1b48cbb3c6 * xspec: define str(xspec) to give back the original specification string
* fix a test invocation

--HG--
branch : trunk
2009-05-21 14:33:15 +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 4784046249 adding not implemented test to not forget about it
--HG--
branch : trunk
2009-05-19 20:15:39 +02:00
holger krekel 1973817f11 rename recorder functionality, unify interfaces
--HG--
branch : trunk
2009-05-19 19:25:21 +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 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 9620583e82 remove unused import, fix failing test mode
--HG--
branch : trunk
2009-04-17 14:06:38 +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 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 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 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 2dd3ea7041 [svn r63886] another few events
--HG--
branch : trunk
2009-04-09 01:50:02 +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 c516e895fd [svn r63685] internal renaming of variable name
--HG--
branch : trunk
2009-04-05 22:16:27 +02:00
hpk ec2c167264 [svn r63601] remove dead code.
--HG--
branch : trunk
2009-04-04 02:35:27 +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 7b47da2203 [svn r63598] cleanup of imports and shuffling of plugin method.
--HG--
branch : trunk
2009-04-04 02:23:04 +02:00
hpk 6bf57efa8f [svn r63597] remove unused code. fix errors.
--HG--
branch : trunk
2009-04-04 01:23:16 +02:00
hpk f14b0c90d9 [svn r63593] have plugin method run the test item and report about it
--HG--
branch : trunk
2009-04-04 00:36:29 +02:00
hpk db60fe7f37 [svn r63588] shift running of test item to be done through a plugin method.
--HG--
branch : trunk
2009-04-03 23:18:41 +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 53491b1531 [svn r63571] kill another few test "events"
--HG--
branch : trunk
2009-04-03 17:47:16 +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 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 662e6905ef [svn r63359] change funcargs naming to use __
--HG--
branch : trunk
2009-03-26 13:50:12 +01:00
hpk 8230a39b39 [svn r63338] rename pyfuncarg to funcarg
--HG--
branch : trunk
2009-03-26 10:16:30 +01:00
hpk af39c9850e [svn r63219] fixing tests to care for underlying symlinked working directories
--HG--
branch : trunk
2009-03-23 03:07:53 +01:00
hpk 2c2bfb5513 [svn r63210] * implement "--dist=each" to distribute each to each available node
* improved node-management and nice showing of results
* streamline command line options

--HG--
branch : trunk
2009-03-22 21:44:45 +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 3305a0e3db [svn r63203] add a method that allows to send an item to multiple nodes
--HG--
branch : trunk
2009-03-22 03:13:36 +01:00
hpk 5f0cabb295 [svn r63202] prepare for allowing for items to be sent to multiple hosts
--HG--
branch : trunk
2009-03-22 02:50:16 +01:00
hpk bda844b544 [svn r63201] allow to specify "3*" for host specs.
--HG--
branch : trunk
2009-03-22 02:19:57 +01:00