hpk
6bf57efa8f
[svn r63597] remove unused code. fix errors.
...
--HG--
branch : trunk
2009-04-04 01:23:16 +02:00
hpk
f14b0c90d9
[svn r63593] have plugin method run the test item and report about it
...
--HG--
branch : trunk
2009-04-04 00:36:29 +02:00
hpk
db60fe7f37
[svn r63588] shift running of test item to be done through a plugin method.
...
--HG--
branch : trunk
2009-04-03 23:18:41 +02:00
hpk
79793d50e2
[svn r63584] killing more code, simplifying running of tests.
...
--HG--
branch : trunk
2009-04-03 22:16:02 +02:00
hpk
cca19f1183
[svn r63580] * removing usage of py.magic.patch
...
* removing obsolete greenlet.py
--HG--
branch : trunk
2009-04-03 19:45:25 +02:00
hpk
245da9de19
[svn r63579] step one in simplifying runtest() collect() semantics
...
--HG--
branch : trunk
2009-04-03 19:39:49 +02:00
hpk
85635e1239
[svn r63575] killing yet more test "events" and redundant code
...
--HG--
branch : trunk
2009-04-03 18:26:21 +02:00
hpk
53491b1531
[svn r63571] kill another few test "events"
...
--HG--
branch : trunk
2009-04-03 17:47:16 +02:00
hpk
45e0499f10
[svn r63566] the InternalException event class bites the dust.
...
--HG--
branch : trunk
2009-04-03 16:18:47 +02:00
hpk
d1946ae978
[svn r63563] the TestrunFinish event class bites the dust.
...
--HG--
branch : trunk
2009-04-03 14:18:25 +02:00
hpk
54cc936437
[svn r63560] beginning to review/polish test events
...
* pyevent() now receives args and kwargs as simple arguments
* refactoring event handling in tests
--HG--
branch : trunk
2009-04-03 12:57:34 +02:00
hpk
3ab894cadc
[svn r63553] * allow doc to be tested distributedly
...
* be more eager to cleanup execnet gateway after tests
--HG--
branch : trunk
2009-04-02 21:47:01 +02:00
hpk
3ffa7735d9
[svn r63550] * move hook and event API definitions to py/test/plugin/api.py
...
* make "py.test" work on "doc" directory again.
--HG--
branch : trunk
2009-04-02 21:16:57 +02:00
hpk
069ab6ff5f
[svn r63547] renaming all event consumers to use the "__" convention that
...
is also used for funcargs.
--HG--
branch : trunk
2009-04-02 19:58:51 +02:00
hpk
0ca3810203
[svn r63543] some import-related skips, test suite passes again.
...
--HG--
branch : trunk
2009-04-02 15:57:42 +02:00
hpk
fbf70a35a2
[svn r63540] fixing shallow test bugs
...
--HG--
branch : trunk
2009-04-02 15:33:14 +02:00
briandorsey
87bd1d998b
[svn r63473] make passed, skipped and failed all default to 'False' for consistency when the attributes are not found.
...
--HG--
branch : trunk
2009-04-01 05:33:54 +02:00
briandorsey
9e385d88f7
[svn r63472] a new plugin which writes a simplified result log to either JSON or a SQLite database.
...
also, some early ideas about possilbe archive abstractions
--HG--
branch : trunk
2009-04-01 05:28:24 +02:00
hpk
4223f18fcb
[svn r63462] fix syntax error (ehem)
...
--HG--
branch : trunk
2009-03-31 19:58:37 +02:00
hpk
371a6b9de9
[svn r63461] a few fixes, now figleaf writes files correctly.
...
also changed figleaf plugin to include only
the files of the current working dir.
--HG--
branch : trunk
2009-03-31 19:58:02 +02:00
jwhitlark
cc0a984ffb
[svn r63430] First cut of pylint plugin. Not in working state
...
--HG--
branch : trunk
2009-03-30 01:57:55 +02:00
briandorsey
0a02a4a0e5
[svn r63429] pytest_figleaf now filters out all coverage for files outside of the tested package
...
--HG--
branch : trunk
2009-03-30 01:12:41 +02:00
briandorsey
fbb0e4b62d
[svn r63428] added happy path tests for figleaf plugin
...
--HG--
branch : trunk
2009-03-30 00:40:44 +02:00
briandorsey
ab081c68d0
[svn r63427] added figleaf plugin to pylib
...
--HG--
branch : trunk
2009-03-30 00:10:24 +02:00
hpk
662e6905ef
[svn r63359] change funcargs naming to use __
...
--HG--
branch : trunk
2009-03-26 13:50:12 +01:00
hpk
cd3e86d185
[svn r63353] better command option handling
...
--HG--
branch : trunk
2009-03-26 13:21:05 +01:00
hpk
8745b9595e
[svn r63345] better naming
...
--HG--
branch : trunk
2009-03-26 11:16:42 +01:00
hpk
92e354a486
[svn r63339] undo rev 63000 so that there is only one method now for funcargs
...
--HG--
branch : trunk
2009-03-26 10:26:09 +01:00
hpk
8230a39b39
[svn r63338] rename pyfuncarg to funcarg
...
--HG--
branch : trunk
2009-03-26 10:16:30 +01:00
hpk
ee902a2d06
[svn r63337] provide more info for the pyfuncarg failing lookup
...
improve docstring
--HG--
branch : trunk
2009-03-26 10:14:09 +01:00
hpk
1930f50bc2
[svn r63319] * fixing verbose reporting to work the "old" way for non-dist settings
...
* bump version number
* comment out greenlet C-Extension for now
--HG--
branch : trunk
2009-03-25 12:50:57 +01:00
hpk
74958be548
[svn r63300] * refining pyfuncarg setup, now there is explicit registration!
...
* porting monkeypatch and pytester funcargs to the new method
* fixing a kind-of-a-bug with MultiCalls
--HG--
branch : trunk
2009-03-24 23:00:07 +01:00
hpk
af39c9850e
[svn r63219] fixing tests to care for underlying symlinked working directories
...
--HG--
branch : trunk
2009-03-23 03:07:53 +01:00
hpk
2c2bfb5513
[svn r63210] * implement "--dist=each" to distribute each to each available node
...
* improved node-management and nice showing of results
* streamline command line options
--HG--
branch : trunk
2009-03-22 21:44:45 +01:00
hpk
ad6afe21ff
[svn r63209] polish command line options for distributed testing.
...
--HG--
branch : trunk
2009-03-22 18:41:36 +01:00
hpk
3305a0e3db
[svn r63203] add a method that allows to send an item to multiple nodes
...
--HG--
branch : trunk
2009-03-22 03:13:36 +01:00
hpk
5f0cabb295
[svn r63202] prepare for allowing for items to be sent to multiple hosts
...
--HG--
branch : trunk
2009-03-22 02:50:16 +01:00
hpk
bda844b544
[svn r63201] allow to specify "3*" for host specs.
...
--HG--
branch : trunk
2009-03-22 02:19:57 +01:00
hpk
9bfdb42273
[svn r63197] * don't think "showskipsummary" is a useful option
...
* some typo fixes
--HG--
branch : trunk
2009-03-21 21:20:02 +01:00
hpk
422635ea47
[svn r63195] * fix rsyncdir usages all around
...
* rename looponfailing to looponfail
--HG--
branch : trunk
2009-03-21 21:07:45 +01:00
hpk
87f6f6b9f4
[svn r63194] more option streamlining
...
--HG--
branch : trunk
2009-03-21 21:02:04 +01:00
hpk
0ba4bd25ac
[svn r63193] normalize towards 'iocapture' option
...
--HG--
branch : trunk
2009-03-21 20:58:41 +01:00
hpk
3902890e1b
[svn r63192] rename dsession to dist
...
--HG--
branch : trunk
2009-03-21 20:31:09 +01:00
hpk
fc14b038af
[svn r63191] * remove "--exec"
...
* cleanup of options
--HG--
branch : trunk
2009-03-21 20:28:35 +01:00
hpk
87de06a124
[svn r63190] no resultlog plugin by default
...
have custom options come last in "py.test -h"
--HG--
branch : trunk
2009-03-21 16:17:30 +01:00
hpk
4fe51e646c
[svn r63187] tweaks to cmdline options
...
--HG--
branch : trunk
2009-03-21 16:04:30 +01:00
hpk
d464940fb2
[svn r63178] remove wrong assert
...
--HG--
branch : trunk
2009-03-21 15:00:01 +01:00
hpk
8dd1dd24bc
[svn r63177] add a "-p" option to allow to add plugins from the command line.
...
--HG--
branch : trunk
2009-03-21 14:54:39 +01:00
hpk
75bfb84ea5
[svn r63163] fixing tests, better verbose output for dist-runs
...
--HG--
branch : trunk
2009-03-21 03:04:44 +01:00
hpk
6a1db0a594
[svn r63162] all tests pass again, output on test node setup and initialization is now much nicer.
...
--HG--
branch : trunk
2009-03-21 02:31:27 +01:00
hpk
35aebfc775
[svn r63160] rename masterslave -> txnode
...
--HG--
branch : trunk
2009-03-20 22:19:03 +01:00
hpk
7b82c6bb27
[svn r63159] re-group methods
...
--HG--
branch : trunk
2009-03-20 22:17:15 +01:00
hpk
1b3384b7bd
[svn r63158] UI improvements
...
--HG--
branch : trunk
2009-03-20 22:13:47 +01:00
hpk
69e68bed29
[svn r63157] remove old events, some more renamings
...
--HG--
branch : trunk
2009-03-20 21:38:50 +01:00
hpk
f157a5d697
[svn r63155] comment cleanup
...
--HG--
branch : trunk
2009-03-20 20:42:17 +01:00
hpk
cbc15b91fa
[svn r63154] use "node" instead of "host" everywhere
...
--HG--
branch : trunk
2009-03-20 20:33:05 +01:00
hpk
afca655202
[svn r63153] refactoring almost complete, apart from testnodeready info
...
--HG--
branch : trunk
2009-03-20 20:04:36 +01:00
hpk
10fb32ad37
[svn r63151] fix various bits, many tests pass modulo dsession host/node handling
...
--HG--
branch : trunk
2009-03-20 18:58:36 +01:00
hpk
5740cfebd6
[svn r63150] fix hostmanager to work with new xspecs
...
--HG--
branch : trunk
2009-03-20 18:29:08 +01:00
hpk
78495272aa
[svn r63107] cleanup event handling of dsession
...
--HG--
branch : trunk
2009-03-20 03:13:31 +01:00
hpk
c44764dc51
[svn r63106] rename host -> gateway in a couple of places
...
--HG--
branch : trunk
2009-03-20 02:09:28 +01:00
hpk
bb3ac13917
[svn r63105] remove non-existing event
...
--HG--
branch : trunk
2009-03-20 01:40:04 +01:00
hpk
22b4ff7f06
[svn r63104] * introduce rsync events
...
* only rsync once if a gateway is specified multiply
--HG--
branch : trunk
2009-03-20 01:34:59 +01:00
hpk
a94359c791
[svn r63091] report some more info on dist-setup
...
shift comments
--HG--
branch : trunk
2009-03-19 19:25:13 +01:00
hpk
92b2d4786d
[svn r63073] make sure that generated test names are always unique
...
--HG--
branch : trunk
2009-03-19 15:34:33 +01:00
hpk
cfa0cf4cfe
[svn r63056] try to ignore build directory (which shouldn't be there at all) for rsyncing
...
--HG--
branch : trunk
2009-03-18 22:24:42 +01:00
hpk
d9242d2a75
[svn r63054] several windows fixes, test suite passes now remotely.
...
--HG--
branch : trunk
2009-03-18 21:49:38 +01:00
hpk
5f25395cdd
[svn r63051] be very careful when we cannot unpickle an
...
colitem because its parent can't collect
the same way as on the sending side.
(due to platform skips etc.)
--HG--
branch : trunk
2009-03-18 20:23:38 +01:00
hpk
f013f0a54b
[svn r63050] * disabled classes or modules will now lead to a skip during setup of the colitem
...
* more graceful handling when "ssh" is not present
--HG--
branch : trunk
2009-03-18 18:54:45 +01:00
hpk
b7e47d0e3c
[svn r63046] change a few comments
...
--HG--
branch : trunk
2009-03-18 17:25:58 +01:00
hpk
941d06e509
[svn r63040] try harder to record and auto-exit gateways after test runs
...
--HG--
branch : trunk
2009-03-18 16:51:55 +01:00
hpk
ee52739b17
[svn r63034] fixing some tests to work across python revisions
...
--HG--
branch : trunk
2009-03-18 15:35:51 +01:00
hpk
772658d616
[svn r63028] allow py.test --exec=python2.4 -n 3 to work
...
and fix some bugs from doing so.
--HG--
branch : trunk
2009-03-18 13:05:18 +01:00
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