Commit Graph

330 Commits

Author SHA1 Message Date
hpk 6f93561002 [svn r63020] allow to specify python executable in gatewayspecs, fix a few tests
--HG--
branch : trunk
2009-03-18 02:13:07 +01:00
hpk fcaefb841b [svn r63019] some simple ssh tests, always transfer py lib as rsyncroot
--HG--
branch : trunk
2009-03-18 01:38:02 +01:00
hpk b5b7f9b3a9 [svn r63018] rename "--hosts" to "--gateways" to make naming more consistent with py.execnet
--HG--
branch : trunk
2009-03-18 00:58:06 +01:00
hpk d626a63934 [svn r63017] rename colitem._config to colitem.config - it's an official attribute
--HG--
branch : trunk
2009-03-18 00:48:07 +01:00
hpk c3e5ca560a [svn r63014] streamlining multichannel interface, fixing test work with -n 3
--HG--
branch : trunk
2009-03-17 23:41:56 +01:00
hpk 9db14e19e8 [svn r63013] adding a failing test for --dist-each
--HG--
branch : trunk
2009-03-17 22:11:23 +01:00
hpk 4aac96fa13 [svn r63000] * do an as lightweight config.mktemp() as possible
* avoid writing lock files if lock_timeout is 0 or None

--HG--
branch : trunk
2009-03-17 15:12:10 +01:00
hpk 47a91d2aa9 [svn r62999] this test can easily pass.
--HG--
branch : trunk
2009-03-17 14:58:13 +01:00
hpk 0def6737ac [svn r62998] tweak another place to not create random subdirs
--HG--
branch : trunk
2009-03-17 14:10:17 +01:00
hpk fc7abf0efe [svn r62997] some more tests, seems like temp test dirs are now more contained when doing distributed testing
--HG--
branch : trunk
2009-03-17 13:42:40 +01:00
hpk c8d679ac95 [svn r62995] try to contain session test tempdirs in one parent
--HG--
branch : trunk
2009-03-17 13:22:14 +01:00
hpk 8a8ae5fe5d [svn r62994] introducing internal MultiGateway class
--HG--
branch : trunk
2009-03-17 12:53:09 +01:00
hpk 7ed26c2929 [svn r62993] * moving ensuretemp to config object
* adding --basetemp option
* added/rewrote some tests

--HG--
branch : trunk
2009-03-17 11:29:45 +01:00
hpk 6f1eca5e4a [svn r62987] add a "setenv" helper for setting a value in the environment
--HG--
branch : trunk
2009-03-17 10:18:38 +01:00
hpk 881fb3fd05 [svn r62986] fix tests that got broken
--HG--
branch : trunk
2009-03-17 08:40:39 +01:00
hpk 6397c38725 [svn r62985] rewrite and fix a skipped test
--HG--
branch : trunk
2009-03-17 08:35:58 +01:00
hpk 009ac242c6 [svn r62984] allow for host to go down if it didn't go up yet
--HG--
branch : trunk
2009-03-17 08:19:23 +01:00
hpk 3815c1afc9 [svn r62983] forgot to add traceback cutting tests long time ago, i guess
--HG--
branch : trunk
2009-03-17 08:11:18 +01:00
hpk bbdebac87a [svn r62982] report basic configuration errors more gracefully to the user
--HG--
branch : trunk
2009-03-17 08:03:49 +01:00
hpk 771ce92fdf [svn r62981] allowing conftest to set default values for options
--HG--
branch : trunk
2009-03-17 07:10:40 +01:00
hpk b5a1f95856 [svn r62978] * introduce --hosts and --rsyncdirs optiosn
* re-sort option groups, disable some options for now
* add docstrings to execnet gatewaymanage
* streamline tests a bit
* unify debugging and tracing

--HG--
branch : trunk
2009-03-16 22:17:14 +01:00
hpk 2aea0a73e2 [svn r62977] actually make use of option group description
--HG--
branch : trunk
2009-03-16 22:15:52 +01:00
hpk e2bbee8bbd [svn r62974] don't allow "_" in py.test.mark attributes
--HG--
branch : trunk
2009-03-16 17:04:18 +01:00
afa 4be27f5078 [svn r62835] Add ANSI colouring to the Win32 console.
This gives a nice display for py.test,
and during pypy translation.

the "markup" function should not be used any more.

--HG--
branch : trunk
2009-03-11 02:40:08 +01:00
rxe ab3f409b4e [svn r62832] unbound res on special files
--HG--
branch : trunk
2009-03-10 22:39:39 +01:00
guido 092569a4c9 [svn r62754] Seems w3 have updated their HTML.
--HG--
branch : trunk
2009-03-09 13:55:00 +01:00
hpk 7124b9e941 [svn r62662] introduce another hook "pytest_item_makereport" to allow a
correct implementation of the xfail plugin: previously
--pdb and -x would incorrrectly terminate if seeing
a marked-to-fail test.

--HG--
branch : trunk
2009-03-06 19:07:44 +01:00
hpk e9f275b176 [svn r62633] fix path bugs, don't feel like writing a test for this, currently.
--HG--
branch : trunk
2009-03-06 11:59:02 +01:00
hpk 13dacf38eb [svn r62615] implement a use case for avoiding recursion into a directory.
--HG--
branch : trunk
2009-03-05 23:54:04 +01:00
hpk ad06cfdc9d [svn r62613] introduced a pytest_collect_directory hook.
--HG--
branch : trunk
2009-03-05 23:15:42 +01:00
hpk 27a501d171 [svn r62612] moved the attic somewhere darker.
--HG--
branch : trunk
2009-03-05 22:51:52 +01:00
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 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 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 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
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
fijal 1dc8555ca0 [svn r61296] a failing test
--HG--
branch : trunk
2009-01-24 09:44:03 +01:00