Commit Graph

785 Commits

Author SHA1 Message Date
hpk 65b75cead6 [svn r62611] yay, the global setupstate died. I guess what kept me from doing that
was all kinds of tests breaking.  but they are cleaned up now.
so there was no problem. nice.

--HG--
branch : trunk
2009-03-05 22:10:18 +01:00
hpk 62b36a91a0 [svn r62610] finally fixed a bug related to the global SetupState
for test functions.  streamlined  testdir.inline_run
functions.  well killed most of them.

--HG--
branch : trunk
2009-03-05 22:01:08 +01:00
hpk 7688f88c4f [svn r62492] removing apigen bits from py lib, they are now in svn/apigen
--HG--
branch : trunk
2009-03-03 19:06:16 +01:00
hpk 30149574c7 [svn r62491] fix a typo
--HG--
branch : trunk
2009-03-03 19:05:08 +01:00
hpk a743caef18 [svn r62487] merging hostmanage branch:
* cleanup of the way distributed/remote sessions are setup up
* simplified config pickling
* configs are now more correctly wired on receival at remote sides
* introduced py.__.execnet.gwmanage helps managing calls to multiple hosts
* grouping all pickling related tests in test_pickle.py
  and showcasing a nice pyfunc_call hack

--HG--
branch : trunk
2009-03-03 18:42:32 +01:00
hpk fbe8315f76 [svn r62430] honour unitttest function default values for pyfuncarg protocol
--HG--
branch : trunk
2009-03-02 23:43:31 +01:00
hpk 7765dda208 [svn r62352] add a note about how to specify plugins
--HG--
branch : trunk
2009-03-02 12:22:11 +01:00
hpk a1295015f1 [svn r62348] add support fo setting command line options from PYTEST_OPTION_NAME environment vars
add a first bit of documentation

(merge of 62304:HEAD from the hostmanage branch)

--HG--
branch : trunk
2009-03-02 12:14:59 +01:00
hpk 8a1ee954f8 [svn r62333] remove apigen here, it is now at svn/apigen/trunk/pytest_apigen.py
--HG--
branch : trunk
2009-03-02 11:58:13 +01:00
hpk 1764555778 [svn r62292] use prefix "do_" for configure/unconfigure calls to plugins in addition to addoption.
--HG--
branch : trunk
2009-03-01 14:56:29 +01:00
hpk 50acc51ac1 [svn r62290] slightly sanitizing initialization of serialised config objects.
--HG--
branch : trunk
2009-03-01 14:43:53 +01:00
hpk 0b074ae555 [svn r62288] better error handling
--HG--
branch : trunk
2009-03-01 14:16:14 +01:00
hpk d47ae0dc8d [svn r62287] By default cut traceback such that py lib code does not appear
test tracebacks.

--HG--
branch : trunk
2009-03-01 12:24:52 +01:00
hpk 9d9a94ce00 [svn r62282] refine a test
--HG--
branch : trunk
2009-03-01 09:00:20 +01:00
hpk 1f70447dde [svn r62281] allowing a plugin to see its registration and unregistration events.
--HG--
branch : trunk
2009-03-01 08:50:45 +01:00
hpk 3561d2e9ff [svn r62256] getting rid of "--session", you can do it by
creating a plugin and calling setsessionclass
from "pytest_configure".

--HG--
branch : trunk
2009-02-27 22:32:49 +01:00
hpk 6f145b7c3c [svn r62252] renaming "py.test.keywords" to "py.test.mark".
--HG--
branch : trunk
2009-02-27 20:56:51 +01:00
hpk 82044fd873 [svn r62245] fixed more wrong renames, fine-tuning
--HG--
branch : trunk
2009-02-27 16:46:00 +01:00
hpk 27110ea361 [svn r62244] fixed wrongly renamed methods
--HG--
branch : trunk
2009-02-27 16:45:31 +01:00
hpk c17a09adaf [svn r62211] merge 60797:HEAD of pytestplugin branch:
this merge contains:

* a new plugin architecture
* a pluginized pytest core
* many pytest related refactorings
* refactorings/streamlining of pytest's own tests

--HG--
branch : trunk
2009-02-27 11:18:27 +01:00
getxsick 1c85d7fe9a [svn r61975] subprocess is in stdlib since 2.4
for backwards compatibility we use compat.subprocess if needed

--HG--
branch : trunk
2009-02-17 18:24:41 +01:00
hpk 0dc97ccd5e [svn r61965] correct help string
--HG--
branch : trunk
2009-02-17 12:33:15 +01:00
hpk 186c2610cd [svn r61961] improve documentation about "-k" keyword handling.
--HG--
branch : trunk
2009-02-17 09:56:29 +01:00
getxsick 51e14dd1b0 [svn r61954] removed of using some deprecated modules/functions from stdlib.
used subprocess instead (the module is included to stdlib since 2.4)

--HG--
branch : trunk
2009-02-16 20:30:14 +01:00
getxsick a8578c5cd3 [svn r61864] remove unnecessary bracket from the help message
--HG--
branch : trunk
2009-02-14 03:07:20 +01:00
fijal 1dc8555ca0 [svn r61296] a failing test
--HG--
branch : trunk
2009-01-24 09:44:03 +01:00
hpk 97005dc4bb [svn r60977] add a few notes that i discussed with Brian when i was in Seattle
--HG--
branch : trunk
2009-01-14 22:07:05 +01:00
hpk 021c1e943d [svn r60976] a few notes regarding improving remote tracebacks for py.execnet
--HG--
branch : trunk
2009-01-14 22:02:14 +01:00
hpk 617afe71a1 [svn r60975] a bit of planning for 1.0
--HG--
branch : trunk
2009-01-14 21:08:52 +01:00
hpk 044adeec0c [svn r60974] some reformulations, less "magic" mentionings
--HG--
branch : trunk
2009-01-14 21:07:05 +01:00
hpk 6863f54951 [svn r60277] triggered by https://codespeak.net/issue/py-dev/issue66
* check for 1.5 messages for non-versioned resources
* modify non-recursive commit test to account for subversion
  behaviour changes (non-recursive commit on directory
  will now commit modified files in it, but will not recurse
  or add subdirs)

--HG--
branch : trunk
2008-12-02 11:08:51 +01:00
pedronis 6ec13a2b9c [svn r60142] - experimental support to let decorators used on tests specify a saner order by attaching the original function (we have been
using something like this for quite a while at OE)
- make the explicit names test more paranoid

--HG--
branch : trunk
2008-11-25 20:15:01 +01:00
pedronis 1a150e9050 [svn r60141] refactor things such that all fallbacks to inspect.get/findsource happen in helpers in source.py
--HG--
branch : trunk
2008-11-25 19:34:47 +01:00
pedronis 5c8b04dacb [svn r60140] simplification, Source will invoke inspect.getsource on its own
--HG--
branch : trunk
2008-11-25 18:32:05 +01:00
pedronis 3ec0a76adb [svn r60139] some minimal testing for Code.source/fullsource
--HG--
branch : trunk
2008-11-25 18:28:40 +01:00
pedronis d491d68d51 [svn r60137] support for explicitly named generative tests with tests and doc addition.
--HG--
branch : trunk
2008-11-25 17:10:16 +01:00
fijal c609974f04 [svn r59871] yet-another-except when trying to get source
--HG--
branch : trunk
2008-11-11 20:11:14 +01:00
hpk 2ad9d8a3c6 [svn r59728] fix broken import exposed by a pypy test (bah)
--HG--
branch : trunk
2008-11-05 18:08:39 +01:00
pedronis c52d8bcdde [svn r59615] given the format and the fact that external timeout logic may kill a py.test emitting a resultlog switching to line buffering
seems a good idea

--HG--
branch : trunk
2008-11-01 11:01:44 +01:00
arigo 03f51e5edb [svn r59464] Fix for a corner case: when the arguments are 'del'-eted from
the local scope.  This can also occur when using Psyco because
f_locals is then empty.

--HG--
branch : trunk
2008-10-28 10:02:19 +01:00
hpk 96ff172661 [svn r59344] adding an item to consider
--HG--
branch : trunk
2008-10-23 20:24:04 +02:00
arigo 5425dba4e5 [svn r59268] An improvement to pdb (which I should also propose as a CPython patch):
in post_portem, the "up" command isn't normally able to walk up past
generator frames.  This fixes it.

--HG--
branch : trunk
2008-10-20 15:45:10 +02:00
fijal 4e3d14162d [svn r58888] Catch all possible find_source errors
--HG--
branch : trunk
2008-10-10 11:59:31 +02:00
hpk 8650c801a2 [svn r58775] only check for Recursion if we have a RuntimeError
--HG--
branch : trunk
2008-10-07 17:44:56 +02:00
hpk c338420976 [svn r58699] show traceback before jumping into pdb
--HG--
branch : trunk
2008-10-07 11:26:56 +02:00
hpk 1bd4afee0b [svn r58690] * add to TODO, changelog
* regen setup

--HG--
branch : trunk
2008-10-06 21:50:35 +02:00
hpk 4b1c2eec3b [svn r58576] * fix test to not rely on time.time() resolution
* strike some superflous __init__ code

--HG--
branch : trunk
2008-10-02 18:19:04 +02:00
hpk af86caf712 [svn r58517] clarify/better english for the cross-python version namespaces
--HG--
branch : trunk
2008-10-01 11:24:24 +02:00
hpk cf833b023c [svn r58516] fix typo
--HG--
branch : trunk
2008-10-01 11:11:29 +02:00
hpk a80bfae0a1 [svn r58386] adding info for debian and rpm systems
--HG--
branch : trunk
2008-09-23 16:42:27 +02:00