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
hpk
0c4fc99a6f
[svn r63887] move rest of events
...
--HG--
branch : trunk
2009-04-09 02:12:10 +02:00
hpk
2dd3ea7041
[svn r63886] another few events
...
--HG--
branch : trunk
2009-04-09 01:50:02 +02:00
hpk
68c6aaa355
[svn r63885] moving two more events
...
--HG--
branch : trunk
2009-04-09 01:41:35 +02:00
hpk
e6234fdb61
[svn r63883] * moving many more events to become ordinary plugin hook calls.
...
* bit hackish because the code for handling the old events is
also still there ...
--HG--
branch : trunk
2009-04-09 01:33:48 +02:00
hpk
ae412d3757
[svn r63874] remove redundant code
...
--HG--
branch : trunk
2009-04-08 21:54:56 +02:00
hpk
66c64e6b97
[svn r63869] * moving execnet events to become api plugin calls.
...
* defining Execnet hooks in an explicit API
--HG--
branch : trunk
2009-04-08 19:50:14 +02:00
hpk
92a06c3787
[svn r63868] move towards having funcarg setup be part of setup()
...
--HG--
branch : trunk
2009-04-08 19:42:23 +02:00
hpk
c6606d9d8f
[svn r63846] fix bug
...
--HG--
branch : trunk
2009-04-08 17:19:46 +02:00
hpk
b6b060c1d0
[svn r63845] introduce new _pytest plugin that allows to selectively record
...
plugin calls and do assertions about them.
--HG--
branch : trunk
2009-04-08 17:15:56 +02:00
hpk
0300b2109c
[svn r63822] simplifying and strictifying the internal calls to plugins using
...
the new "api" mechanism.
--HG--
branch : trunk
2009-04-08 12:06:21 +02:00
hpk
f14fc582e9
[svn r63808] * refinements/renames to new PluginAPI
...
* have pytest_runner start to use it, passes the main test
--HG--
branch : trunk
2009-04-07 22:46:50 +02:00
hpk
50664c1e17
[svn r63806] adding a MultiAPI helper for managing plugin APIs.
...
--HG--
branch : trunk
2009-04-07 22:22:52 +02:00
hpk
9aed6ddcd0
[svn r63805] first step towards having a dedicated test-run plugin, some more basics missing
...
--HG--
branch : trunk
2009-04-07 21:27:00 +02:00
hpk
bba69f207b
[svn r63797] introduce a clean "guardedcall" interface for performing calls with exception catching and stdout/stderr capturing
...
--HG--
branch : trunk
2009-04-07 16:27:57 +02:00
hpk
10e267b7b6
[svn r63786] rename CollectionReport to CollectReport, remove XXX.
...
--HG--
branch : trunk
2009-04-07 13:51:55 +02:00
hpk
a37c32783d
[svn r63785] further renaming, streamlining the testing machinery and helpers.
...
--HG--
branch : trunk
2009-04-07 12:48:57 +02:00
hpk
5b31dfe357
[svn r63780] some renaming
...
--HG--
branch : trunk
2009-04-07 11:53:01 +02:00
hpk
4f5020c3dd
[svn r63686] fixing docstring, removing dead code.
...
--HG--
branch : trunk
2009-04-05 22:34:41 +02:00
hpk
c516e895fd
[svn r63685] internal renaming of variable name
...
--HG--
branch : trunk
2009-04-05 22:16:27 +02:00
hpk
b2077ed2ec
[svn r63630] some more code to prepare for substituting the
...
fixture/runtest code, using more plugins.
--HG--
branch : trunk
2009-04-04 22:19:18 +02:00
hpk
ba6eca8da4
[svn r63628] * shuffle SetupState and fixture handling into runner.py
...
* introduce a itemsetupreport and new setupitem/teardownitem methods.
* more tests
--HG--
branch : trunk
2009-04-04 21:06:20 +02:00
hpk
ec2c167264
[svn r63601] remove dead code.
...
--HG--
branch : trunk
2009-04-04 02:35:27 +02:00
hpk
4aeb929b3c
[svn r63600] merge remaining content of event.py into runner.py.
...
--HG--
branch : trunk
2009-04-04 02:34:20 +02:00
hpk
7b47da2203
[svn r63598] cleanup of imports and shuffling of plugin method.
...
--HG--
branch : trunk
2009-04-04 02:23:04 +02:00
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
e7e1b2725b
[svn r63562] fixing _com regarding pyevents as well
...
--HG--
branch : trunk
2009-04-03 12:59:34 +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
briandorsey
3c451ee69e
[svn r63544] fix typo in my name
...
--HG--
branch : trunk
2009-04-02 18:59:24 +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
hpk
a72ab92ed6
[svn r63539] moving py/doc to doc/ and removing some more files
...
--HG--
branch : trunk
2009-04-02 15:24:02 +02:00
hpk
5bc2bda8d1
[svn r63536] refining docs some more. removing outdated or what-i-consider-unfitting docs
...
--HG--
branch : trunk
2009-04-02 15:12:26 +02:00
hpk
984201a9e4
[svn r63530] committing some old text about state management
...
--HG--
branch : trunk
2009-04-02 13:19:12 +02:00
hpk
d53e3b3b67
[svn r63529] remove idea here for a new "fs" namespace.
...
1.0.0 release announce draft
some fixes and streamlines here and there.
--HG--
branch : trunk
2009-04-02 13:16:41 +02:00
hpk
08b6c2e3e9
[svn r63523] adding the pylib logo (from the webpage)
...
--HG--
branch : trunk
2009-04-02 10:39:32 +02:00
hpk
1207d0d2de
[svn r63522] ReST fixes, Copyright fixes
...
--HG--
branch : trunk
2009-04-02 10:08:38 +02:00
hpk
e84337d7cd
[svn r63521] fix py.std docs and simplify its implementation (which is a 5 liner, anyway).
...
--HG--
branch : trunk
2009-04-02 09:52:32 +02:00
hpk
ff0bdb3076
[svn r63520] * removing versioning of generated _build directory.
...
* removing an outdated note regarding py.std
--HG--
branch : trunk
2009-04-02 09:37:38 +02:00
briandorsey
4d95ec5c5c
[svn r63519] Initial Sphinx-ification of the documentation
...
run: 'make html' to build
--HG--
branch : trunk
2009-04-02 09:10:16 +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
90616cd194
[svn r63360] bumping to first beta
...
--HG--
branch : trunk
2009-03-26 13:51:47 +01:00
hpk
662e6905ef
[svn r63359] change funcargs naming to use __
...
--HG--
branch : trunk
2009-03-26 13:50:12 +01:00
hpk
2c0ec27d1a
[svn r63355] bump version
...
--HG--
branch : trunk
2009-03-26 13:22:04 +01:00
hpk
cd3e86d185
[svn r63353] better command option handling
...
--HG--
branch : trunk
2009-03-26 13:21:05 +01:00
hpk
9b5e15bebe
[svn r63346] update docs
...
--HG--
branch : trunk
2009-03-26 12:15:14 +01:00
hpk
8745b9595e
[svn r63345] better naming
...
--HG--
branch : trunk
2009-03-26 11:16:42 +01:00
hpk
c2ee8273b0
[svn r63340] remove greenlet from py lib
...
--HG--
branch : trunk
2009-03-26 10:33:50 +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
bf626bb786
[svn r63318] fix typo
...
--HG--
branch : trunk
2009-03-25 12:44:35 +01:00
hpk
33b283327d
[svn r63302] avoiding a (what i think mostly) mac python setup issue
...
--HG--
branch : trunk
2009-03-24 23:40:04 +01:00
hpk
62905a1312
[svn r63301] don't open the anyway unused stdin, this can (at last on python 2.4 on Mac) leave open pipes in the process
...
--HG--
branch : trunk
2009-03-24 23:38:43 +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
5bf92423b7
[svn r63253] fix typo
...
--HG--
branch : trunk
2009-03-23 20:07:02 +01:00
hpk
e0cfe2adc5
[svn r63251] fix reference
...
--HG--
branch : trunk
2009-03-23 20:00:31 +01:00
hpk
2c321a86d6
[svn r63244] update the main entry doc page
...
--HG--
branch : trunk
2009-03-23 17:40:18 +01:00
hpk
4863c08746
[svn r63242] fails on windows, unncessary to test anyway
...
--HG--
branch : trunk
2009-03-23 17:24:10 +01:00
hpk
d203d47b4d
[svn r63241] regen setup, fix gensetup script
...
--HG--
branch : trunk
2009-03-23 17:03:10 +01:00
hpk
d1016d7800
[svn r63238] rather going for some alpha releases until i am sure that packaging works well
...
--HG--
branch : trunk
2009-03-23 16:30:32 +01:00
hpk
98ebf16c78
[svn r63235] bumping version to 1.0.0b1
...
--HG--
branch : trunk
2009-03-23 16:24:30 +01:00
hpk
82630c37a8
[svn r63232] nicer repr for gateway._rinfo() informatio about remote location
...
--HG--
branch : trunk
2009-03-23 16:01:15 +01:00
hpk
41d20e26aa
[svn r63229] don'T generate apigen information for now
...
--HG--
branch : trunk
2009-03-23 15:01:13 +01:00
hpk
2e01b1eda9
[svn r63223] cleanup contact page
...
--HG--
branch : trunk
2009-03-23 11:05:50 +01:00
hpk
c4fe18608d
[svn r63222] refactor test-features doc, make references to others
...
--HG--
branch : trunk
2009-03-23 11:01:15 +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
d50e4892a3
[svn r63218] temporary fix for the issue that rsync does not synchronize executable bits yet.
...
--HG--
branch : trunk
2009-03-23 02:23:17 +01:00
hpk
83e65a310e
[svn r63217] * remove obsolete doc
...
* regen setup.py
* update README.txt
--HG--
branch : trunk
2009-03-23 01:59:18 +01:00
nopmop
244ff9c970
[svn r63216] 72: the code fragement -> fragment
...
114: You can use a string speficiation -> specification
147: Examples fo -> of
--HG--
branch : trunk
2009-03-23 01:49:31 +01:00
hpk
94fa3f4b31
[svn r63215] updating test distribution docs.
...
--HG--
branch : trunk
2009-03-23 01:46:22 +01:00
hpk
4f6539cc57
[svn r63213] fix typo
...
--HG--
branch : trunk
2009-03-23 01:19:59 +01:00
hpk
5da714131c
[svn r63212] completely revamp the execnet web page
...
--HG--
branch : trunk
2009-03-23 00:18:49 +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
c81ffeb027
[svn r63208] moving example to top-level dir.
...
--HG--
branch : trunk
2009-03-22 18:08:31 +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
887a837600
[svn r63200] new docs about testing
...
refactoring of documentation
new entry page
--HG--
branch : trunk
2009-03-22 01:38:43 +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
2aae6540ff
[svn r63188] allow reversed retrieval of methods
...
--HG--
branch : trunk
2009-03-21 16:14:22 +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
074788e580
[svn r63164] rebuild setup.py
...
--HG--
branch : trunk
2009-03-21 03:21:45 +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
c8da61a7d3
[svn r63149] always have a default chdir
...
--HG--
branch : trunk
2009-03-20 18:14:45 +01:00
hpk
78d1836d80
[svn r63148] add a __repr__ for xspecs
...
--HG--
branch : trunk
2009-03-20 17:58:32 +01:00
hpk
a4c14e83f0
[svn r63147] get rid of old method for specifying remote execution places.
...
--HG--
branch : trunk
2009-03-20 17:28:14 +01:00
hpk
9cd41c91bd
[svn r63145] add support for "chdir"
...
--HG--
branch : trunk
2009-03-20 16:52:39 +01:00
hpk
e383082b5b
[svn r63144] have socket and ssh gateways
...
--HG--
branch : trunk
2009-03-20 16:36:45 +01:00
hpk
5f3fac94b6
[svn r63141] makegateway works for plain popen and popen+python-version
...
--HG--
branch : trunk
2009-03-20 15:20:40 +01:00
hpk
265e7c5dc2
[svn r63139] make _rinfo() cache results by default
...
--HG--
branch : trunk
2009-03-20 15:04:15 +01:00
hpk
8d8a73784c
[svn r63137] a helper some basic remote info
...
--HG--
branch : trunk
2009-03-20 14:41:43 +01:00
hpk
764b85f23e
[svn r63136] better grouping of gateway public API
...
--HG--
branch : trunk
2009-03-20 14:31:02 +01:00
hpk
250f17b609
[svn r63135] adding a new gateway specification method
...
--HG--
branch : trunk
2009-03-20 14:22:07 +01:00
afa
cfd28db4a6
[svn r63110] Typo in a (unused) constant
...
--HG--
branch : trunk
2009-03-20 09:09:56 +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
877a7a32d8
[svn r63103] samefile is only available on posix
...
--HG--
branch : trunk
2009-03-20 01:30:32 +01:00
hpk
f7a23716b5
[svn r63102] add a "samefile" method to local path objects.
...
--HG--
branch : trunk
2009-03-20 00:57:10 +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
6f2cca80ae
[svn r63089] factor out MultiChannel and MultiGateway helpers
...
--HG--
branch : trunk
2009-03-19 18:05:41 +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
6b9bf26536
[svn r63061] dont print too much info on non-debug
...
--HG--
branch : trunk
2009-03-19 10:57:19 +01:00
hpk
a57836f1eb
[svn r63060] execnet really needs to improve its bootstrapping
...
--HG--
branch : trunk
2009-03-19 10:56:40 +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
5cd05c565c
[svn r63053] forbid too small windows width for now
...
--HG--
branch : trunk
2009-03-18 20:39:33 +01:00
hpk
eb68ec75aa
[svn r63052] some fixes for win32
...
--HG--
branch : trunk
2009-03-18 20:23:52 +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
6ba07a82ba
[svn r63048] fix windows issues
...
--HG--
branch : trunk
2009-03-18 18:05:37 +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
87cd94a197
[svn r63027] new API:
...
py.execnet.MultiGateway
py.execnet.MultiChannel
py.execnet.GatewaySpec
with some docs and streamlined tests.
--HG--
branch : trunk
2009-03-18 12:18:39 +01:00
hpk
5803072b96
[svn r63024] don't close_fds by default
...
--HG--
branch : trunk
2009-03-18 09:10:06 +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
9a47f06a59
[svn r63016] * fix setattr on apimodules
...
* higher timeout
--HG--
branch : trunk
2009-03-18 00:34:59 +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
f01040b193
[svn r62975] - use "popen" instead of localhost if you want popen-gateways
...
- have a default joinpath
--HG--
branch : trunk
2009-03-16 17:53: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
guido
08b3ac9b1c
[svn r62972] Oops, accidentally checked in a change, now rolling back (added 'apigen' to
...
enabled plugins, which fails if the apigen package is not on the PYTHONPATH).
--HG--
branch : trunk
2009-03-16 16:17:29 +01:00
guido
af5ba099b3
[svn r62971] Re-added 'gendoc.py' script to build the py lib documentation, now using the
...
externalized apigen package. The package should be on the PYTHONPATH, if not
the script warns.
--HG--
branch : trunk
2009-03-16 16:16:08 +01:00
hpk
e1086ab7f9
[svn r62967] fix mock object
...
--HG--
branch : trunk
2009-03-16 13:42:20 +01:00
afa
f56310d178
[svn r62857] Always substract the last column from the Win32 terminal console:
...
otherwise the last char wraps and the \n causes an empty line.
This allows more tests to pass.
--HG--
branch : trunk
2009-03-11 13:55:44 +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
c61eb2caac
[svn r62617] renaming doc, small fix
...
--HG--
branch : trunk
2009-03-06 00:17:30 +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
2d98dbfc81
[svn r62614] implementing __call__.exclude_other_results() to allow plugin hooks to
...
exclude results from other plugins.
--HG--
branch : trunk
2009-03-05 23:35:35 +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
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
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
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
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
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
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
hpk
a55332091d
[svn r58385] * move cross-platform process kill functionality and move it to
...
py.process.kill(pid)
* simplify test_auth.py
* use new functionality from some tests
--HG--
branch : trunk
2008-09-23 16:28:13 +02:00
hpk
5b21c540b6
[svn r58384] adding a test for unimplemented recording feature
...
--HG--
branch : trunk
2008-09-23 16:25:16 +02:00
hpk
0974aa784a
[svn r58375] some updates on the filesystem front
...
--HG--
branch : trunk
2008-09-23 12:41:22 +02:00
hpk
863fff7042
[svn r58360] factor import of xml into one method to deal more gracefully
...
with implementations that don't have expat.
--HG--
branch : trunk
2008-09-23 08:29:17 +02:00
pedronis
ed231f4b1b
[svn r58350] use optparse
...
--HG--
branch : trunk
2008-09-22 22:34:40 +02:00
pedronis
aeca93f0b3
[svn r58340] this seems to need to be this way, otherwise a py.lookup from PATH will be used or a failure will occur instead
...
--HG--
branch : trunk
2008-09-22 21:30:13 +02:00
hpk
e63da23050
[svn r58319] be more grateful on tests that disappear during a looponfailing session.
...
--HG--
branch : trunk
2008-09-22 15:15:47 +02:00
pedronis
8b3fe55158
[svn r58316] (iko, pedronis)
...
move the FileLogSession into the py.lib proper, activated with the option --resultlog (suggestions
for a better name are welcome)
- added its tests
- plus a functional/integration test in test_config in the style of the one for eventlog
--HG--
branch : trunk
2008-09-22 14:34:54 +02:00
hpk
ef5709d30b
[svn r58311] remove dead code.
...
--HG--
branch : trunk
2008-09-21 19:51:44 +02:00
hpk
6cdd88eef6
[svn r58309] fix a test, add a comment (pysvnwcrevert cannot be invoked generically)
...
--HG--
branch : trunk
2008-09-21 17:24:47 +02:00
hpk
cc10d84088
[svn r58308] * de-generalize conditional skips and only care
...
nicely for common tedious causes of skipping:
import a module and checking it has a certain
version. usage example:
docutils = py.test.importorskip(docutils, minversion="0.4")
* used new helper and cleanup skipping logic in py lib
--HG--
branch : trunk
2008-09-21 17:15:28 +02:00
hpk
fa5c975c00
[svn r58300] adding option to specify namespace for ifraises execution.
...
--HG--
branch : trunk
2008-09-21 15:43:01 +02:00
hpk
13c7fb6709
[svn r58298] move and update TODO file
...
--HG--
branch : trunk
2008-09-21 14:51:32 +02:00
hpk
e77fab82ee
[svn r58297] add a new way of conditionally skipping a test:
...
py.test.skip(ifraises="...")
see more info in the added doc.
also remove a redundant raises test and
cleanup raises code a bit.
--HG--
branch : trunk
2008-09-21 14:50:56 +02:00
hpk
cdb8fa1abe
[svn r58288] update TODOs, docstring
...
--HG--
branch : trunk
2008-09-21 10:17:11 +02:00
hpk
94f1abbbb0
[svn r58225] remove outdated comment.
...
--HG--
branch : trunk
2008-09-18 18:12:18 +02:00
hpk
cf007ce7c5
[svn r58224] remove redundant py import, thanks getxsick
...
--HG--
branch : trunk
2008-09-18 17:41:19 +02:00
pedronis
fa5d4dfe92
[svn r58211] allow to specify filenames that need to be preserved
...
--HG--
branch : trunk
2008-09-17 22:29:35 +02:00
pedronis
33b0390ee6
[svn r58190] adding arigo/hacks/svnwcrevert as a py.svnwcrevert script on py lib trunk
...
--HG--
branch : trunk
2008-09-17 10:50:04 +02:00
arigo
7afc30d130
[svn r58095] (pedronis, arigo)
...
KeyboardInterrupt handling:
* in --verbose mode, print a detailed traceback at the end of
the report.
* in non-verbose mode, only print the file name and line number
where the KeyboardInterrupt occurred. That's the minimal
amount of information that is of any help at all to locate
an infinite loop somewhere.
--HG--
branch : trunk
2008-09-12 22:35:18 +02:00
arigo
f12b795147
[svn r58094] (pedronis, arigo)
...
Partial revert: don't print traceback failures after
InternalExceptions.
--HG--
branch : trunk
2008-09-12 22:04:59 +02:00
arigo
2670dac0d2
[svn r58093] (pedronis, arigo)
...
Show tracebacks for the failures even when py.test is
interrupted by Ctrl-C.
--HG--
branch : trunk
2008-09-12 21:54:41 +02:00
arigo
faec0dfa0b
[svn r58092] Ensure that the path is printed before the 1st test of
...
a module starts running (even when -v is not specified).
--HG--
branch : trunk
2008-09-12 21:41:31 +02:00
arigo
a9c4c9876c
[svn r58091] Minor refactoring of a few methods. The point is to add a couple of
...
hooks for my conftest. This is a bit hard to test, and I don't even
know if it's worth a comment, as I'm ready to fix my conftest when
needed.
--HG--
branch : trunk
2008-09-12 21:31:31 +02:00
arigo
2742204d67
[svn r58090] Add a hack with a comment that explains why I think it is a hack.
...
I fear I don't care enough about --tb=short to do the "proper" fix
as documented in the comment.
--HG--
branch : trunk
2008-09-12 21:16:34 +02:00
hpk
6842e5a769
[svn r58035] allow for passing in ssh_config files, deprecat "identity" argument
...
--HG--
branch : trunk
2008-09-10 11:48:44 +02:00
hpk
37eea51f59
[svn r58034] introduce APIWARN helper
...
allow for subscriptions to produced warnings
use it from some places
--HG--
branch : trunk
2008-09-10 11:47:37 +02:00
hpk
d2d5bbd918
[svn r58030] check for different output according to cpython version
...
--HG--
branch : trunk
2008-09-10 00:08:21 +02:00
hpk
3febdb049d
[svn r58028] reverting 58009 - webcheck is actually used although not directly tested.
...
--HG--
branch : trunk
2008-09-09 23:53:38 +02:00
hpk
0d955758ba
[svn r58027] skip specific test instead of all pexpect ones.
...
--HG--
branch : trunk
2008-09-09 23:40:21 +02:00
hpk
af33fb16f7
[svn r58026] avoiding an issue with older pexpect versions
...
--HG--
branch : trunk
2008-09-09 23:36:30 +02:00
hpk
7dfc85b046
[svn r58020] streamline pdb pexpect test
...
--HG--
branch : trunk
2008-09-09 20:18:22 +02:00
hpk
c7e867d969
[svn r58017] fixing two more glitches
...
--HG--
branch : trunk
2008-09-09 19:47:39 +02:00
hpk
2bac2ed175
[svn r58013] bah, forgot that helper uses fnmatch-style matching, not regular expression
...
--HG--
branch : trunk
2008-09-09 19:15:37 +02:00
hpk
05f2d6441d
[svn r58012] fix imports so that tests pass against pypy-dist
...
--HG--
branch : trunk
2008-09-09 19:02:28 +02:00
hpk
39440c91c9
[svn r58010] some support for old naming because many sites import ReST checker from this conftest.
...
--HG--
branch : trunk
2008-09-09 18:51:49 +02:00
hpk
0c1fe61f44
[svn r58009] move old webcheck things into contrib
...
--HG--
branch : trunk
2008-09-09 18:51:07 +02:00
hpk
573daf741b
[svn r57979] fix 2.3 compat
...
--HG--
branch : trunk
2008-09-08 18:01:11 +02:00
pedronis
2cb1b42b38
[svn r57977] (iko, pedronis)
...
- fixing a bug with test about the case when a multi line source cannot be retrieved
( test_repr_many_line_source_not_existing in test_excinfo.py )
- trying to make py test behave more like in the past in the face of fullsource errors, needed by pypy app test
infrastructure
( test_repr_source_failing_fullsource in test_excinfo.py )
--HG--
branch : trunk
2008-09-08 17:51:38 +02:00
pedronis
7a21f7157e
[svn r57971] (iko, pedronis)
...
make the Directory collection return files sorted by name again, as it seemed expected by the tests
--HG--
branch : trunk
2008-09-08 15:02:35 +02:00
hpk
e29a48b575
[svn r57834] try to accomodate the fact that some conftests like the Prolog-test ones
...
subclass Module but do not actually have an underlying python file.
Nowadays, they should subclass "py.test.collect.File".
--HG--
branch : trunk
2008-09-05 12:07:36 +02:00
hpk
a978e606c3
[svn r57833] simplify test setup
...
--HG--
branch : trunk
2008-09-05 11:28:25 +02:00
hpk
621f925985
[svn r57831] small test cleanups while prepping for pycon uk slides
...
--HG--
branch : trunk
2008-09-05 11:02:58 +02:00
arigo
b52c58159f
[svn r57790] Reintroduce the --tb option. Add test.
...
--HG--
branch : trunk
2008-09-03 10:15:44 +02:00
hpk
d83db97806
[svn r57772] tweak
...
--HG--
branch : trunk
2008-09-02 21:38:46 +02:00
hpk
9eb1d55380
[svn r57762] * settle on using suptest for supporting test runs
...
* fix a bug in getmodpath
* remove redundant functions/files
--HG--
branch : trunk
2008-09-02 16:31:42 +02:00
hpk
7518dcabc2
[svn r57758] unify test support, remove basetest.py
...
--HG--
branch : trunk
2008-09-02 15:22:10 +02:00
hpk
14cfc8d342
[svn r57757] adapt output checking test for slightly different output
...
--HG--
branch : trunk
2008-09-02 14:45:50 +02:00
hpk
4c38ff30ee
[svn r57756] * create new contrib directory
...
* move py/green to contrib/pygreen,
fix tests and code to pass
--HG--
branch : trunk
2008-09-02 14:42:35 +02:00
hpk
561a14054c
[svn r57754] * introduce py.test.collect.File (File for py or non-py files)
...
* introduce py.test.collect.Collector.collect_by_name and
special case it for Directories to allow specifying
files that would otherwise be ignored because of filters.
* fix py/doc/conftest to work with new API
* refactor py/doc/test_conftest.py to use suptest helper
* avoid old APIs in some more places.
--HG--
branch : trunk
2008-09-02 14:24:15 +02:00
hpk
494ea31042
[svn r57744] Merging collection-API refactoring branch:
...
* collectors now have a collect() method
* items have a runtest() method
* deprecated old run/join of collectors and
run/execute methods of items
--HG--
branch : trunk
2008-09-02 10:58:14 +02:00
hpk
ee94d1d2bd
[svn r57707] review todo.txt and future/* items, merge into one TODO.txt file.
...
--HG--
branch : trunk
2008-09-01 10:37:17 +02:00
hpk
d9f3c868e8
[svn r57689] mentioning "-U" switch.
...
--HG--
branch : trunk
2008-08-29 20:55:42 +02:00
fijal
937b13c710
[svn r57609] Keep comments in the same style accross the file
...
--HG--
branch : trunk
2008-08-24 12:58:42 +02:00
hpk
861ff88484
[svn r57595] i've heart somewhere that running tests before checking in is a good idea (aka bah!)
...
--HG--
branch : trunk
2008-08-22 23:15:56 +02:00
hpk
354feff9a6
[svn r57594] * adding tracing to dsession and master/slave communication
...
(enable with --tracedir)
* factor slave loop into a class
* add comment to pickling
--HG--
branch : trunk
2008-08-22 23:14:43 +02:00
hpk
a6f1e3d82f
[svn r57591] flush true by default
...
--HG--
branch : trunk
2008-08-22 19:07:04 +02:00
hpk
0dbe04abcb
[svn r57587] merging doc and tool changes from release branch
...
svn merge -r 57540:HEAD release/0.9.x
--HG--
branch : trunk
2008-08-22 15:41:17 +02:00
hpk
7adfbfa166
[svn r57565] also introduce config.maketrace(name, flush=False) which
...
returns either a nulltracer or opens a log in the tracedir
and returns an object that you can call with args to print
into the file.
--HG--
branch : trunk
2008-08-21 19:39:34 +02:00
hpk
bf42c88e48
[svn r57564] adding an option for setting a tracedirectory so that components can write log files,
...
depending on what they get from config.gettracedir()
--HG--
branch : trunk
2008-08-21 19:25:48 +02:00
hpk
89cdf3b8a4
[svn r57558] should have come with 57557 - extend "acceptance" test machinery.
...
--HG--
branch : trunk
2008-08-21 16:26:27 +02:00
hpk
3652fbfe85
[svn r57557] add lookup in filenames and test machinery.
...
--HG--
branch : trunk
2008-08-21 16:25:24 +02:00
hpk
29af0e2d81
[svn r57556] remove special Function __repr__
...
--HG--
branch : trunk
2008-08-21 15:53:19 +02:00
hpk
a0cbc060b6
[svn r57554] fix case where argument to AssertionError has broken __repr__
...
--HG--
branch : trunk
2008-08-21 15:43:45 +02:00
hpk
b1069dec00
[svn r57551] normalizing py.which cmdline script
...
--HG--
branch : trunk
2008-08-21 15:25:29 +02:00
hpk
d7f09cfc0a
[svn r57550] * fixing syntax error
...
* removing setup.cfg
--HG--
branch : trunk
2008-08-21 15:12:31 +02:00
hpk
d7f4dd3794
[svn r57548] * introduce py.process.ForkedFunc object (previously lived at
...
py.io and before that py.test)
* avoid deprecated py/misc/terminal_helper.py
* starting changelog for 1.0
--HG--
branch : trunk
2008-08-21 14:12:20 +02:00
hpk
3702ca2c71
[svn r57546] * channels now also provide makefile(mode) with mode = 'r'
...
for providing file-like read/readline/close methods.
* added and refined crash and finalization tests
--HG--
branch : trunk
2008-08-21 14:04:43 +02:00
hpk
9b81b15b74
[svn r57544] still notify callbacks if we can't send to the other side anymore.
...
--HG--
branch : trunk
2008-08-21 14:00:08 +02:00
hpk
a999dc8472
[svn r57540] merge changes from release branch back
...
[svn merge -r 57430:HEAD ../release/0.9.x/ .]
* cmdline script organisation
* execnet windows fixes
* documentation updates
* test skips
also regen setup.py
--HG--
branch : trunk
2008-08-21 12:18:58 +02:00
hpk
c0d524139e
[svn r57538] re-apply few fixes to make experimental gateway path basically work again.
...
--HG--
branch : trunk
2008-08-21 12:05:04 +02:00
hpk
37a41ed0b7
[svn r57536] get the py.path fixes of 0.9.x release branch back to trunk
...
--HG--
branch : trunk
2008-08-21 12:00:33 +02:00
hpk
5f666c99b7
[svn r57535] extending hacks for a safe representation of objects
...
to also work for broken __repr__s on newstyle classes.
--HG--
branch : trunk
2008-08-21 11:48:46 +02:00
hpk
d5e61e470d
[svn r57529] preparing experiments with "dev" tags and pypi.
...
--HG--
branch : trunk
2008-08-21 09:48:44 +02:00
hpk
a8571daac8
[svn r57481] fix a few things, seems to work again.
...
--HG--
branch : trunk
2008-08-19 23:47:09 +02:00
hpk
353ce8d0ce
[svn r57480] fix changed namespace
...
--HG--
branch : trunk
2008-08-19 23:42:13 +02:00
guido
c32fa7b4f3
[svn r57474] Fixed bug reported by Martijn Faassen - when the XML output of 'svn st --xml'
...
didn't contain author information, the code raised an exception.
--HG--
branch : trunk
2008-08-19 21:50:06 +02:00
hpk
c1ce0c7357
[svn r57464] removing print statement
...
(there is something to be said about doctests :)
--HG--
branch : trunk
2008-08-19 14:23:30 +02:00
hpk
39c06d2f6e
[svn r57455] fixing for changed output
...
--HG--
branch : trunk
2008-08-19 07:58:44 +02:00
guido
623ad564ed
[svn r57449] Merging https://codespeak.net/svn/py/branch/guido-svnwc-xml-status with trunk
...
(revisions 56843:57448).
--HG--
branch : trunk
2008-08-18 22:37:39 +02:00
hpk
8cefb88d9c
[svn r57445] retain the behaviour of printing if we insert to sys.path
...
--HG--
branch : trunk
2008-08-18 21:03:25 +02:00
hpk
3fafeacdcb
[svn r57442] robustify. this can also happen to get exectued while being in another version of the py lib.
...
--HG--
branch : trunk
2008-08-18 20:02:56 +02:00