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
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
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
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
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
guido
13c44faa38
[svn r38770] Removed option --apigen_relpath, added options --docpath and --apigenpath, both
...
of which are not only used for building the navigation, but also to actually
tell py.test where docs should be generated. Also cleaned up and fixed the
situation regarding relative links in the navigation menu and stylesheet/js
paths.
--HG--
branch : trunk
2007-02-14 00:56:57 +01:00
hpk
22d98ac3a1
[svn r38460] removing a very-likely-obsolete test
...
and otherwise fixing files and tests
to do py.test.skip()s only during setup.
--HG--
branch : trunk
2007-02-11 14:46:46 +01:00
guido
275673ba21
[svn r38396] Capturing stdout and stderr when running the update_website tests to not mess
...
up --rest output.
--HG--
branch : trunk
2007-02-10 16:41:31 +01:00
guido
1c1df46a55
[svn r38183] Made that py.execnet.Channel (referring to py.__.execnet.channel.Channel) is
...
picked up by the apigen doc generator, fixed some bugs that made that that
didn't work previously.
--HG--
branch : trunk
2007-02-08 18:28:55 +01:00
guido
9643b7d6f8
[svn r38143] Removed some confusing output to stdout/stderr (output of failing tests, which
...
are part of a test that tests whether a set of tests ran by a nested py.test
process fails... so the failing output is correct).
--HG--
branch : trunk
2007-02-08 14:51:38 +01:00
hpk
d614e67fb1
[svn r38108] skip this test if we have no .svn dir
...
--HG--
branch : trunk
2007-02-07 20:28:29 +01:00
hpk
0b7854d722
[svn r38078] some fixes and test skips for win32 (otherwise all tests
...
pass for me on win32)
--HG--
branch : trunk
2007-02-07 16:54:50 +01:00
guido
d11aec0b42
[svn r38077] Script to run "py.test --apigen" on the py lib (well, can be used on other
...
projects too) and rsync the results to some remote host/path (by default
codespeak.net, currently to some dir in my home directory, when it's tested
better in practice files will go to the website directory).
--HG--
branch : trunk
2007-02-07 16:36:02 +01:00
guido
7852ead1fe
[svn r37912] Made some small changes to the initpkg mechanism so docstrings are, if
...
provided in the exportdefs, copied to the namespaces (from whereever they
come), and added docstrings to all exposed namespaces (except for _thread for
now).
--HG--
branch : trunk
2007-02-04 15:27:10 +01:00
fijal
f5d51fb9e0
[svn r37865] more descriptive skip msg
...
--HG--
branch : trunk
2007-02-03 13:27:48 +01:00
fijal
4db6f4144a
[svn r37864] Add a (failing) test about version URL available
...
--HG--
branch : trunk
2007-02-03 13:25:20 +01:00