Commit Graph

1169 Commits

Author SHA1 Message Date
holger krekel 7602096f81 perform state setup finalization earlier
--HG--
branch : 1.0.x
2009-06-24 15:43:37 +02:00
holger krekel 4ab0f25b05 remove scope argument from request.addfinalizer
--HG--
branch : 1.0.x
2009-06-23 17:10:52 +02:00
holger krekel 5d0fd33b64 bumping version to "1.0.x" for now, regen setup, opening 1.0.x branch
--HG--
branch : 1.0.x
2009-06-23 12:19:55 +02:00
holger krekel a07d1a4391 remove TODO file (mostly done, superflous or in the issue tracker),
remove keyword subsitution in text files.
regen setup with hg info instead of svn.

--HG--
branch : trunk
2009-06-23 12:12:45 +02:00
holger krekel 357cfe73cc Added tag 1.0.0b3 for changeset 52c6d9e78777
--HG--
branch : trunk
2009-06-23 11:33:20 +02:00
holger krekel 53dc595113 b3, fix (likelY) windows-path-comparison related issue at plugin registration
link to PyPI

--HG--
branch : trunk
2009-06-19 13:05:44 +02:00
holger krekel 6de02a7976 snapshot 1.0.0b2
--HG--
branch : trunk
2009-06-19 12:19:59 +02:00
holger krekel 629fe2151c fixing some release/apigen related issues
--HG--
branch : trunk
2009-06-18 20:04:36 +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 964ecbdb19 shift deprecated_call helper into pytest_recwarn plugin
--HG--
branch : trunk
2009-06-18 17:26:40 +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 bcb30d1c7a bah - i guess i rather keep using setuptools for 1.0 because
of the issue of installing non-setuptools mediated windows
scripts on previously installed with setuptools ones

--HG--
branch : trunk
2009-06-17 21:08:19 +02:00
holger krekel 4a78daf7f3 * refine collect hooks and docs, remove pytest_collect_recurse
* write and extend extension docs

--HG--
branch : trunk
2009-06-15 17:28:55 +02:00
holger krekel 771438fde5 * refine and rename pycollect related hooks
* refine runtest/test function call protocol

--HG--
branch : trunk
2009-06-15 15:15:40 +02:00
holger krekel a59d602bce * remove redundant call_next_provider method, thus generalizing Request object
* refine according documentation

--HG--
branch : trunk
2009-06-11 19:49:25 +02:00
holger krekel 3f50470c6a striking config from Node signature
--HG--
branch : trunk
2009-06-11 18:23:32 +02:00
holger krekel 6956d1a7e4 remove unused function
--HG--
branch : trunk
2009-06-11 14:49:49 +02:00
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 df437e2016 consolidate extension docs into a single file
--HG--
branch : trunk
2009-06-11 14:48:42 +02:00
holger krekel d99f335918 fix threading io-redirection tests
--HG--
branch : trunk
2009-06-09 17:28:50 +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
ralf@brainbot.com 58eba8a9a4 restart system calls on SIGCHLD signals (needed for OS X)
this only works in python >= 2.6.

--HG--
branch : trunk
2009-06-08 15:14:40 +02:00
ralf@brainbot.com a5d42b36d2 adapt to new plugin architecture and misc cleanups:
- exit with non-zero value on import errors
- remove unused imports
- make --twisted-logging a boolean option

--HG--
branch : trunk
2009-06-05 12:05:23 +02:00
ralf@brainbot.com 95c28265a6 fix generator tests
--HG--
branch : trunk
2009-06-03 15:22:14 +02:00
ralf@brainbot.com 4c42bf7f57 fix typos in comments
--HG--
branch : trunk
2009-06-03 15:16:34 +02:00
holger krekel 78bae2dd04 fix a bug that collectonly reporting did not show internal errors (thanks ronny)
--HG--
branch : trunk
2009-05-25 14:21:21 +02:00
holger krekel 3bdcd2f793 introduce Function._genid, also used for more correct equality implementation
--HG--
branch : trunk
2009-05-25 10:46:04 +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 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 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 def623e289 refactor basic_run_report a bit to allow for immediate PDB runs and clearer code.
--HG--
branch : trunk
2009-05-22 19:57:11 +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 30e04b1ec6 derive Exit from KeyboardInterrupt to simplify exception catching
--HG--
branch : trunk
2009-05-22 13:01:48 +02:00
holger krekel 4bc352cc7d merging pedronis-branch changes to resolve issue 15 for now.
This introduces py.test.collect._fillfuncargs which can
operate on Function like objects.

--HG--
branch : trunk
2009-05-21 20:29:37 +02:00
Samuele Pedroni f50b39980c addresses issue15
expose fillfuncargs as py.test.collect._fillfuncargs instead for now

--HG--
branch : trunk
2009-05-21 19:36:02 +02:00
Samuele Pedroni e79f4d298c minimal changes to expose fillfuncargs
--HG--
branch : trunk
2009-05-21 19:08:33 +02:00
holger krekel 169691ec5c regen setup.py, striking some unused headers
--HG--
branch : trunk
2009-05-21 16:16:22 +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 5d3a3add83 introduce and document "session" scope for finalization helpers
--HG--
branch : trunk
2009-05-21 14:37:30 +02:00
holger krekel b8c3f866b5 fixed examples according to new plugin and setup mechanisms
--HG--
branch : trunk
2009-05-21 14:36:52 +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 d4a28b1b2d update todo to make some sense again
shift samuele in license file

--HG--
branch : trunk
2009-05-21 09:54:48 +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 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 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 219e627f87 remove superflous registry.call_firstresult and NONEASFIRSTRESULT logic
--HG--
branch : trunk
2009-05-20 22:02:08 +02:00