Commit Graph

1068 Commits

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