holger krekel
219e627f87
remove superflous registry.call_firstresult and NONEASFIRSTRESULT logic
...
--HG--
branch : trunk
2009-05-20 22:02:08 +02:00
holger krekel
d9ad2cf761
merging the new function generators, addresses issue 2
...
- introduce a new pytest_genfuncruns hook for generating tests with multiple funcargs
- new and extended docs: doc/test/funcargs.txt
- factor all funcargs related code into py/test/funcargs.py
- remove request.maketempdir call (you can use request.config.mktemp)
--HG--
branch : trunk
2009-05-11 19:23:57 +02:00
holger krekel
b7fe3ee2b3
fixes issue 6 by reverting back to issuing attributeerror
...
--HG--
branch : trunk
2009-05-07 19:07:22 +02:00
holger krekel
8182d341a5
rename "api" into "hook" in most places.
...
--HG--
branch : trunk
2009-05-07 18:01:53 +02:00
holger krekel
f0a277008a
fix a bug
...
--HG--
branch : trunk
2009-04-14 17:25:59 +02:00
hpk
0b554bf925
[svn r63917] remove now unused code
...
--HG--
branch : trunk
2009-04-09 23:09:54 +02:00
hpk
2ffb68c177
[svn r63913] make py.log.APIWARN available
...
--HG--
branch : trunk
2009-04-09 22:32:04 +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
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
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
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
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
e7e1b2725b
[svn r63562] fixing _com regarding pyevents as well
...
--HG--
branch : trunk
2009-04-03 12:59:34 +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
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
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
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
2aae6540ff
[svn r63188] allow reversed retrieval of methods
...
--HG--
branch : trunk
2009-03-21 16:14:22 +01:00
hpk
6ba07a82ba
[svn r63048] fix windows issues
...
--HG--
branch : trunk
2009-03-18 18:05:37 +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
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
6f145b7c3c
[svn r62252] renaming "py.test.keywords" to "py.test.mark".
...
--HG--
branch : trunk
2009-02-27 20:56:51 +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
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
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
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
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
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
4115e975d1
[svn r57429] merging/porting the release branch changes and
...
cleanups to trunk.
svn merge -r 56716:HEAD ../release/0.9.x/ to trunk
--HG--
branch : trunk
2008-08-18 17:08:39 +02:00
hpk
a4333b7b0d
[svn r57331] port 57330 (which accidentally went to the branch)
...
--HG--
branch : trunk
2008-08-16 19:51:21 +02:00
hpk
abc8cf09aa
[svn r57321] merging the event branch:
...
* moving in test, misc, code, io directories and
py/__init__.py
* py/bin/_find.py does not print to stderr anymore
* a few fixes to conftest files in other dirs
some more fixes and adjustments pending
--HG--
branch : trunk
2008-08-16 17:26:59 +02:00
hpk
7428eadf7d
[svn r57320] remove test, misc, doc, io, and code directories
...
that are to come from the event branch with the next commit.
--HG--
branch : trunk
2008-08-16 17:10:17 +02:00
hpk
53c3f58a33
[svn r56749] porting fixes from dist to trunk
...
--HG--
branch : trunk
2008-07-23 19:40:04 +02:00
hpk
7682e0801a
[svn r56743] port path-fix 56724
...
--HG--
branch : trunk
2008-07-23 17:30:43 +02:00
hpk
4adcfb75de
[svn r56509] small helper script for creating py/test2 hierarchy
...
--HG--
branch : trunk
2008-07-13 10:27:58 +02:00
guido
17530e8ccd
[svn r52000] Merging the 'guido-auth-svn' branch back into the trunk. This means there's
...
a new class py.path.SvnAuth of which instances store user credentials and
auth config, and can be passed to py.path.svnurl and py.path.svnwc objects
to control SVN authentication behaviour.
--HG--
branch : trunk
2008-03-01 14:43:33 +01:00
hpk
f3f84fa36c
[svn r51329] rename special __package__ to __pkg__ because python 2.6 needs the former
...
(thanks to Ralf Schmitt)
--HG--
branch : trunk
2008-02-08 09:43:05 +01:00
hpk
f2b0bd10e6
[svn r51034] merging in fijal's reporter-merge branch into the trunk,
...
still needs refactoring as far as i am concernced.
--HG--
branch : trunk
2008-01-25 16:54:04 +01:00
hpk
f3acdc6623
[svn r40834] skip test for XXX'ed download urls if version contains "alpha"
...
--HG--
branch : trunk
2007-03-20 13:20:33 +01:00
fijal
1b639695b4
[svn r40002] Re-enable url check test
...
--HG--
branch : trunk
2007-03-06 22:13:33 +01:00
hpk
40b28ca0fe
[svn r39655] add a (somewhat clunky) way to kill processes by PID both on windows
...
and unix-ish systems.
--HG--
branch : trunk
2007-03-02 12:00:32 +01:00
hpk
f6040733dc
[svn r38821] hum, only do the precompiled greenlet if we are invoked
...
with install
--HG--
branch : trunk
2007-02-14 13:51:08 +01:00
hpk
f2e89671d0
[svn r38810] being yet more ignorant about build problems of c-extensions
...
--HG--
branch : trunk
2007-02-14 13:15:20 +01:00
hpk
86155cceb8
[svn r38808] trying to be more ignorant about missing abilities
...
to remove c-extension modules (they might be in
site-packages) and adding a hack to make sure
that the greenlet module gets build ahead of
the setup install.
--HG--
branch : trunk
2007-02-14 13:13:39 +01:00