Commit Graph

1310 Commits

Author SHA1 Message Date
holger krekel 822b69a4e8 use item's own fspath when doing progress reporting, fixes #31
--HG--
branch : 1.0.x
2009-08-17 16:45:52 +02:00
holger krekel d2f497084e fixing svn status on incomplete files issue #32
--HG--
branch : 1.0.x
2009-08-14 18:01:16 +02:00
Benjamin Peterson d702f4da14 add a --version option to print the pylib version
--HG--
branch : 1.0.x
2009-08-14 09:16:40 -05:00
holger krekel 7b906ca763 [mq]: monkey
--HG--
branch : 1.0.x
2009-08-13 20:10:12 +02:00
holger krekel 37976be529 [mq]: flexcom
--HG--
branch : 1.0.x
2009-08-11 19:00:41 +02:00
holger krekel b552f6eb46 * add pytest_nose plugin
* have unittest functions always receive a fresh instance

--HG--
branch : 1.0.x
2009-08-10 11:27:13 +02:00
holger krekel a01e4769cc simplify internal plugin dispatching code, rename parts of the py._com plugin helpers
--HG--
branch : 1.0.x
2009-08-09 23:51:25 +02:00
holger krekel 5c8df1d4ca turn some tests from skipped to xfail
strike dead code, small refinements to xfail exception reporting

--HG--
branch : 1.0.x
2009-08-09 23:46:27 +02:00
holger krekel d41949a6e3 Test* classes with an __init__ method are not collected anymore
--HG--
branch : 1.0.x
2009-08-06 18:15:21 +02:00
holger krekel 58c6971dc8 nicer error message for non-collectable test files / items
fixes issue #27

--HG--
branch : 1.0.x
2009-08-06 15:26:45 +02:00
holger krekel cea46a86aa [mq]: rename
--HG--
branch : 1.0.x
2009-08-06 15:02:38 +02:00
holger krekel afc8e6bd91 more terse reporting of collection errors / tracebacks, bump version number aiming for 1.0.1
--HG--
branch : 1.0.x
2009-08-06 14:49:55 +02:00
holger krekel 8fcdac9dd6 * fix capturing and unicode printing in tests
* introduce "_encoding" to py/io/terminalwriter writing
* beautify a few __repr__ for better internal debugging

--HG--
branch : 1.0.x
2009-08-06 14:34:19 +02:00
holger krekel 91597f4100 update various doc bits, fix typos
--HG--
branch : 1.0.x
2009-08-04 22:33:24 +02:00
holger krekel a94afc6b5e regen
--HG--
branch : 1.0.x
2009-08-04 12:02:38 +02:00
holger krekel 8c8617c354 * rename "rep" to "report" in reporting hooks
* refine docs
* bump version data
* improve announcement

--HG--
branch : 1.0.x
2009-08-04 12:00:04 +02:00
holger krekel 67c4503d1b fix bestrelpath related tests and docstrings
--HG--
branch : 1.0.x
2009-08-04 09:32:05 +02:00
holger krekel 66cf2d3092 make pylint plugin not bail out early, still does nothing useful, though
--HG--
branch : 1.0.x
2009-08-03 16:34:48 +02:00
holger krekel 1a570011fe showing relative paths by default, improving xfail output a bit, bumping version info to 1.0.0
--HG--
branch : 1.0.x
2009-08-03 16:01:32 +02:00
holger krekel 30d77f77af shift options and tests to terminal plugin
--HG--
branch : 1.0.x
2009-08-03 15:27:26 +02:00
holger krekel 1349edd3c6 rename iocapture to capture, add/remove some missing files
--HG--
branch : 1.0.x
2009-08-03 12:16:12 +02:00
holger krekel 96c863b3c1 rename pocoo to "pastebin" plugin, write documentation, implement whole-session-pasting
--HG--
branch : 1.0.x
2009-08-03 11:56:56 +02:00
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 be949f4037 * reworked capturing to only capture once per runtest cycle
* added readouterr() method to py.io capturing helpers

--HG--
branch : 1.0.x
2009-07-31 14:21:02 +02:00
holger krekel 2514b8faaf fix a svn-1.6 issue
--HG--
branch : 1.0.x
2009-07-30 21:31:31 +02:00
holger krekel ad34e50b71 properly handle test items that get locally collected but cannot be collected on the remote side (often due to platform reasons)
--HG--
branch : 1.0.x
2009-07-30 09:52:12 +02:00
holger krekel dcf194ebb8 simplify py.test.mark API,
add more plugin docs

--HG--
branch : 1.0.x
2009-07-28 14:26:32 +02:00
holger krekel 5b205e0711 improve assert re-inteprpretation for comparisons
--HG--
branch : 1.0.x
2009-07-26 15:31:23 +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 875ebc18ef targetting a b9
--HG--
branch : 1.0.x
2009-07-23 20:16:27 +02:00
holger krekel 7fabb3df69 update docs, leave out internal plugins
--HG--
branch : 1.0.x
2009-07-22 16:09:49 +02:00
holger krekel 155ffa07de applying samuele's patch fixing a regression
resolves issue #26

--HG--
branch : 1.0.x
2009-07-22 14:50:17 +02:00
holger krekel 6216ab2bb7 adding a test and some support code for creating
an "sdist" package, unpacking in a virtualenv and
importing and verifying the version

--HG--
branch : 1.0.x
2009-07-22 14:47:10 +02:00
holger krekel 066f8e854d * refine keyboardinterrupt handling for --dist
* generate tests for various options

--HG--
branch : 1.0.x
2009-07-22 14:39:09 +02:00
holger krekel d128854674 poll for child process status after exit procedure
--HG--
branch : 1.0.x
2009-07-22 13:24:21 +02:00
holger krekel 4f735a66c5 improve unittest documentation, enable plugin by default
--HG--
branch : 1.0.x
2009-07-20 18:54:18 +02:00
holger krekel 16aa1571c0 new cleaner layout, many improvements to docs
--HG--
branch : 1.0.x
2009-07-20 18:54:08 +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 04a98700d9 * move some test_pytest_terminal tests to become functional/acceptance tests
* refine pytest_namespace to not take a config object

--HG--
branch : 1.0.x
2009-07-17 18:07:37 +02:00
holger krekel e43e58afed split off tests from pytest_terminal reporter plugin
--HG--
branch : 1.0.x
2009-07-17 16:19:19 +02:00
holger krekel 60a7556ca3 resolves issue 25
fix documentation for cached_setup, thanks to anonymous for reporting.

--HG--
branch : 1.0.x
2009-07-17 14:52:11 +02:00
holger krekel 64a5075545 trying to tweak setup and py version attributes to not cause merging conflicts
--HG--
branch : 1.0.x
2009-07-14 21:36:51 +02:00
holger krekel 013381fae1 * add a script for generating plugin docs
* improve generation of docs
* refine plugins docs

--HG--
branch : 1.0.x
2009-07-14 21:17:13 +02:00
holger krekel 9590ccb65d merge trunk changes
--HG--
branch : 1.0.x
2009-07-09 13:16:37 +02:00
holger krekel a2837ab778 fix test
--HG--
branch : trunk
2009-07-09 13:13:31 +02:00
holger krekel 605f36c905 fix logging interaction issue
--HG--
branch : trunk
2009-07-09 13:12:00 +02:00
holger krekel 8a085c035a merging 1.0.x changes
--HG--
branch : trunk
2009-07-08 20:08:07 +02:00
holger krekel 2603a0b76e fix figleaf plugin import
--HG--
branch : 1.0.x
2009-07-08 19:57:45 +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 81d5e572ca merging some old changes (still struggling with mercurial a bit)
--HG--
branch : 1.0.x
2009-07-08 16:44:40 +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 cbf05b325f merging 1.0.x branch
--HG--
branch : trunk
2009-07-08 14:03:00 +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 e0aa84d5de merge 1.0.x changes
--HG--
branch : trunk
2009-07-01 14:39:20 +01:00
holger krekel 6167ba8923 (radomir, holger) tweak doctest reporting for docstrings from python modules
--HG--
branch : 1.0.x
2009-07-01 14:24:19 +01:00
holger krekel d056149b67 trying to get together a working 1.0.0b7
without ez_setup.py

--HG--
branch : 1.0.x
2009-06-30 11:42:57 +01:00
holger krekel c8d2873fb2 merge 1.0.x branch
--HG--
branch : trunk
2009-06-29 11:50:02 +01:00
holger krekel 7cb096373b fix typo
--HG--
branch : 1.0.x
2009-06-29 07:32:33 +01:00
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 bd8f68555d re-adding py.test.mark as documented (!) by adding pytest_keyword plugin
--HG--
branch : 1.0.x
2009-06-28 13:19:43 +02:00
holger krekel 296a660a73 doc refinements
introduce '__channelexec__' + docs

--HG--
branch : 1.0.x
2009-06-26 17:48:46 +02:00
holger krekel e412f695dd tagging 1.0.0b5
--HG--
branch : 1.0.x
2009-06-24 18:02:41 +02:00
holger krekel bb5ef52a58 merge 1.0.x release branch changes
--HG--
branch : trunk
2009-06-24 17:49:08 +02:00
holger krekel e6210806fe tag revision 1.0.0b4 for upload
--HG--
branch : 1.0.x
2009-06-24 17:23:09 +02:00
holger krekel a137b62370 add py.test version to verbose reporting
correctly regen setup

--HG--
branch : 1.0.x
2009-06-24 16:57:55 +02:00
holger krekel 2b12f3f538 resolves issue 18 multiprocessing py.test co-existence
add fileno() method and test DontReadFromInput redirection some more

--HG--
branch : 1.0.x
2009-06-24 16:35:01 +02:00
holger krekel 74ba91dd50 resolve issue 23
--HG--
branch : 1.0.x
2009-06-24 16:24:20 +02:00
holger krekel 49c4027df3 regen setup.py, already bump trove classifier
--HG--
branch : 1.0.x
2009-06-24 16:20:14 +02:00
holger krekel c491a708e0 add test and fix keyword recogniation, thanks Andreas Kloeckner
--HG--
branch : 1.0.x
2009-06-24 16:04:42 +02:00
holger krekel f531a1d6c9 addresses issue #22
allow test functions to have no func_code

--HG--
branch : 1.0.x
2009-06-24 15:55:57 +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 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 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 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 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 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
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 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
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 637f35b4a6 nicer docstring for monkeypatch funcarg plugin
--HG--
branch : trunk
2009-05-19 20:00:24 +02:00
holger krekel 1973817f11 rename recorder functionality, unify interfaces
--HG--
branch : trunk
2009-05-19 19:25:21 +02:00
Samuele Pedroni 3b23b98cb5 sorting should be an option collector->child interface
--HG--
branch : trunk
2009-05-19 18:28:51 +02:00
Samuele Pedroni 842d14cd33 move _getparent to Node and make it public
--HG--
branch : trunk
2009-05-19 18:13:33 +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 4035fa6326 get to a workable state for cached_setup() and docs, move msot related code to SetupState class
--HG--
branch : trunk
2009-05-18 19:06:16 +02:00
holger krekel 767dcc69f3 imported patch usegentest
--HG--
branch : trunk
2009-05-18 18:59:45 +02:00
holger krekel 045a135786 apply and generalize patch from Ronny regarding dumb terminals, add doc note
--HG--
branch : trunk
2009-05-13 13:06:32 +02:00
holger krekel fdd50fcfd7 streamlining pocoo plugin
--HG--
branch : trunk
2009-05-13 11:51:19 +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 1e3acc66d6 implement funcargs according to docs, streamline docs
--HG--
branch : trunk
2009-05-12 23:32:19 +02:00
holger krekel 286460b94e merge samuele's metainfo() branch
also fix a test after broken rename

--HG--
branch : trunk
2009-05-12 19:09:27 +02:00
Samuele Pedroni b392b0eac1 - rename metainfo to reportinfo for clarity
- report hook: pytest_report_iteminfo to override the .reportinfo() as provided by items

--HG--
branch : trunk
2009-05-12 17:02:22 +02:00
Samuele Pedroni 0f049147f4 test through the now public entry point
--HG--
branch : trunk
2009-05-12 15:59:55 +02:00
Samuele Pedroni 4956e00a49 introduce a pytest_collect_metainfo hook
--HG--
branch : trunk
2009-05-12 14:50:25 +02:00
Samuele Pedroni 69214d053d - expose py.code.getfslineno and use it in pycollect
- rename PyobjMixin.getfslineno to PyobjMixin._getdslineno

- place_as still in place

--HG--
branch : trunk
2009-05-12 13:39:09 +02:00
Samuele Pedroni 89c025335f test fix, .py vs .pyc
--HG--
branch : trunk
2009-05-12 13:21:51 +02:00
Samuele Pedroni 1e5ece07e8 - implement a general getfslineno helper in code/source.py with tests
- not exposed yey

--HG--
branch : trunk
2009-05-12 12:36:43 +02:00
holger krekel 6843c64a95 avoid superflous methods
--HG--
branch : trunk
2009-05-12 11:29:14 +02:00
holger krekel 9950fdc3eb bring back nicer headlines for failure tests
--HG--
branch : trunk
2009-05-12 11:05:05 +02:00
holger krekel b40c3d5110 catch duplicate _id values
--HG--
branch : trunk
2009-05-12 02:16:02 +02:00
holger krekel ebb0de4ff7 adding _id parameter to addcall, refinements
--HG--
branch : trunk
2009-05-12 02:05:59 +02:00
holger krekel c3f3dc653e rename hook, rename addfuncarg to addcall interface,
forget about combinations of funcargs.

--HG--
branch : trunk
2009-05-12 01:38:09 +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 1cb83de0ab don't print py lib revision always
--HG--
branch : trunk
2009-05-10 21:50:24 +02:00
holger krekel 541b35270f care for threading module being set to None already during finalization
--HG--
branch : trunk
2009-05-10 21:36:13 +02:00
holger krekel c3a6fbd8d7 better docstring
--HG--
branch : trunk
2009-05-09 18:09:17 +02:00
holger krekel 1535d75bb8 test reporting of itemstart events some more
--HG--
branch : trunk
2009-05-08 18:47:33 +02:00
holger krekel 4a70a667bb better name for hook
--HG--
branch : trunk
2009-05-07 23:12:17 +02:00
holger krekel 1e84a3c451 fixing a windows issues
--HG--
branch : trunk
2009-05-07 21:04:56 +02:00
holger krekel b7fe3ee2b3 fixes issue 6 by reverting back to issuing attributeerror
--HG--
branch : trunk
2009-05-07 19:07:22 +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 1f14aacbc2 fix issue 7 (delay in test writing)
--HG--
branch : trunk
2009-05-07 15:46:06 +02:00
holger krekel 86030ee645 fix docstring
--HG--
branch : trunk
2009-05-07 15:44:56 +02:00
holger krekel 0de4a13623 provide basic metainfo because the terminal reporter needs it for printing progress.
--HG--
branch : trunk
2009-05-07 15:44:39 +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 22622e3370 remove unused option
once again fix resultdb plugin

--HG--
branch : trunk
2009-05-06 08:58:05 +02:00
holger krekel a72b351139 * performing funcarg setup during setup-phase
* make item.runtest() be a clean function and have
  the caller deal with the deprecated invocation

--HG--
branch : trunk
2009-05-06 08:38:42 +02:00
holger krekel aad04ea8ae * kill some code and indirections
* have metainfo() directly provide fileinfo + message

--HG--
branch : trunk
2009-05-05 23:52:25 +02:00
holger krekel 3245b0c1af greatly refine deprecaction warnings and use new "recwarn" plugin for it.
--HG--
branch : trunk
2009-05-05 22:31:18 +02:00
holger krekel 671684be5c a new plugin for asserting that warnings have been shown to a user.
--HG--
branch : trunk
2009-05-05 21:24:47 +02:00
holger krekel 170e48d946 fix import issue
--HG--
branch : trunk
2009-04-28 23:49:03 +02:00
holger krekel 91c78274f5 fix missing import skip problem
--HG--
branch : trunk
2009-04-28 23:17:04 +02:00
holger krekel 3b052e9f7f extend py.cleanup to supply a list of extensions to clean
--HG--
branch : trunk
2009-04-28 23:00:57 +02:00
holger krekel a5ab200b9f fixing compat test for 2.6
--HG--
branch : trunk
2009-04-28 22:48:22 +02:00
holger krekel 46be553c25 better error messages as discussed here:
http://codespeak.net/pipermail/py-dev/2009q2/001113.html

--HG--
branch : trunk
2009-04-28 18:11:38 +02:00
holger krekel 975e681552 refine error message for inconsistently failing asserts
--HG--
branch : trunk
2009-04-28 12:10:56 +02:00
holger krekel 84f2d332ce fix test for preparsed -p
--HG--
branch : trunk
2009-04-17 20:35:23 +02:00
holger krekel c8de661ef6 fixes #3
added tests and fix for early parsing of "-p" option

--HG--
branch : trunk
2009-04-17 20:09:29 +02:00
holger krekel 2fd437e465 ref addresses 4
The first non-None value returned by a pytest_pyfunc_call hook
method now indicates that the function call has been performed.

--HG--
branch : trunk
2009-04-17 19:25:15 +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 f6765f4c8b merging from py-trunk
--HG--
branch : trunk
2009-04-17 13:56:47 +02:00
hpk 945c72ddf3 [svn r64263] fix failing test on windows
--HG--
branch : trunk
2009-04-17 13:40:13 +02:00
hpk b3e22554d7 [svn r64259] porting afa's 64232 and 64253 to trunk
--HG--
branch : trunk
2009-04-17 13:30:55 +02:00
Michael Zeidler 1da363472e Deleted duplicate declaration of 'pytest_item_runtest_finished()'.
--HG--
branch : trunk
2009-04-15 13:39:50 +02:00
holger krekel 6b1b3a3494 fix funcarg usage in execnet, regen setup
--HG--
branch : trunk
2009-04-14 23:01:46 +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 792dce025c fix reporting failure
--HG--
branch : trunk
2009-04-14 19:24:45 +02:00
holger krekel 9c6a790992 remove print, shift code
--HG--
branch : trunk
2009-04-14 18:42:36 +02:00
holger krekel 763d0d72a5 funcargs work mostly according to the documentation
--HG--
branch : trunk
2009-04-14 18:30:26 +02:00
holger krekel f0a277008a fix a bug
--HG--
branch : trunk
2009-04-14 17:25:59 +02:00
holger krekel de4c2dc98d implement request object as per docs
--HG--
branch : trunk
2009-04-14 02:59:50 +02:00
holger krekel 70840f605e move tests to test_funcargs.py and start with new request object tests
--HG--
branch : trunk
2009-04-14 02:23:42 +02:00
hpk 0324f84a78 [svn r64028] use pygments for syntax-coloring python code and console
--HG--
branch : trunk
2009-04-13 14:54:58 +02:00
hpk 58c4366fb9 [svn r64027] make parser.getgroup create a group if it doesn't exist
--HG--
branch : trunk
2009-04-13 14:54:32 +02:00
holger krekel dfc6ac3b5a use pygments for sourcecode highlightning
--HG--
branch : trunk
2009-04-13 14:36:16 +02:00
holger krekel 5c854bea30 getgroup can also create groups now
--HG--
branch : trunk
2009-04-13 12:33:01 +02:00
fijal ef63510f42 [svn r64007] port 64001-64004 to trunk
--HG--
branch : trunk
2009-04-13 01:39:00 +02:00
hpk 9c6e5aa7eb [svn r64000] can't bear the setuptools problems anymore. trying to switch away from it.
--HG--
branch : trunk
2009-04-13 01:05:08 +02:00
hpk 0b554bf925 [svn r63917] remove now unused code
--HG--
branch : trunk
2009-04-09 23:09:54 +02:00
hpk 3015757b0a [svn r63916] KISS: remove interaction of warnings with plugin mechanism, it's not needed.
--HG--
branch : trunk
2009-04-09 23:04:51 +02:00
hpk 58cc8c29d3 [svn r63914] py.log._apiwarn is fine enough because it's something
of an py lib internal api deprecation mechanism atm.

--HG--
branch : trunk
2009-04-09 22:34:28 +02:00
hpk 2ffb68c177 [svn r63913] make py.log.APIWARN available
--HG--
branch : trunk
2009-04-09 22:32:04 +02:00
hpk 73529ce63d [svn r63911] striking unneeded call_each from pluginmanager
--HG--
branch : trunk
2009-04-09 20:39:59 +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 f8fc229917 [svn r63905] * have pytest pluginmanager do multicalls for registration
* more renaming

--HG--
branch : trunk
2009-04-09 17:03:58 +02:00
hpk e75b1b9ee6 [svn r63902] bugfix
--HG--
branch : trunk
2009-04-09 16:43:12 +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 69aaef64de [svn r63890] group hooks
--HG--
branch : trunk
2009-04-09 02:53:45 +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