Commit Graph

548 Commits

Author SHA1 Message Date
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 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 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 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 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 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 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 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 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 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 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 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 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
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 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