Commit Graph

29 Commits

Author SHA1 Message Date
holger krekel e80714d701 fixes for python 2.4
--HG--
branch : 1.0.x
2009-07-31 15:35:22 +02:00
holger krekel a7382df5e9 fix/work around some corner cases for dist-testing
--HG--
branch : 1.0.x
2009-07-31 14:22:02 +02:00
holger krekel 737c32c783 handle final teardown properly, add a new experimental hook for it.
--HG--
branch : 1.0.x
2009-07-31 14:22:02 +02:00
holger krekel 61c53602f2 introduce new "Error" outcome and group setup/teardown and collection failures into that category. Report them separately.
--HG--
branch : 1.0.x
2009-07-31 14:22:02 +02:00
holger krekel 9aa781907e enable capturing during collect
added a few xfailed tests for fixture reporting

--HG--
branch : 1.0.x
2009-07-25 18:45:04 +02:00
holger krekel 04e9197fd6 * reworked per-test output capturing into the pytest_iocapture.py plugin
* removed all capturing code from config object and pytest_default plugins

* item.repr_failure(excinfo) instead of item.repr_failure(excinfo, outerr)

* added a few logging tests

--HG--
branch : 1.0.x
2009-07-25 18:09:01 +02:00
holger krekel 8be0ea942a introduced pytest_keyboardinterrupt hook
removed optional argument from pytest_sessionfinish hook

--HG--
branch : 1.0.x
2009-07-20 14:01:40 +02:00
holger krekel 605f36c905 fix logging interaction issue
--HG--
branch : trunk
2009-07-09 13:12:00 +02:00
holger krekel 8f0a85aee1 * streamlining plugin docstrings
* better organisation of example directory, also does not break
  whole-test run anymore

--HG--
branch : 1.0.x
2009-07-08 19:18:26 +02:00
holger krekel 88a0714dfa * refix handling of partial setup failures
* shuffle / consolidate related tests
* re-gen setup.py

--HG--
branch : 1.0.x
2009-07-08 16:41:30 +02:00
holger krekel 183af95526 * refined funcarg docs and CHANGELOG
* fixed funcarg setup and error-raising issue

--HG--
branch : 1.0.x
2009-07-05 14:22:01 +02:00
holger krekel 7602096f81 perform state setup finalization earlier
--HG--
branch : 1.0.x
2009-06-24 15:43:37 +02:00
holger krekel e61e7b1e26 * fix too-many-open files issue with fd based io-capturing
* workaround 2.6 issue with pickling of objects from global conftest.py files

--HG--
branch : trunk
2009-06-09 17:06:31 +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 e57543780f shift tests and remove superflous files
--HG--
branch : trunk
2009-05-22 23:57:08 +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 b8926f59da make setupevent tests of pytest_runner.py work
--HG--
branch : trunk
2009-05-22 19:56:05 +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 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 8182d341a5 rename "api" into "hook" in most places.
--HG--
branch : trunk
2009-05-07 18:01:53 +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 c6606d9d8f [svn r63846] fix bug
--HG--
branch : trunk
2009-04-08 17:19:46 +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 9aed6ddcd0 [svn r63805] first step towards having a dedicated test-run plugin, some more basics missing
--HG--
branch : trunk
2009-04-07 21:27:00 +02:00