Commit Graph

53 Commits

Author SHA1 Message Date
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
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
arigo 00aa8876d6 [svn r38597] Raise an ImportError if there is no way to build a C extension module,
e.g. on top of pypy-c.  Importing e.g. py.magic.greenlet then gives an
exception that is saner to catch than ValueError.

--HG--
branch : trunk
2007-02-12 17:49:32 +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
hpk 4e66510fa7 [svn r38458] better docstring for top level object
--HG--
branch : trunk
2007-02-11 14:33:22 +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 c1216c2346 [svn r38217] Moved the -S option to a new conftest.py in the execnet dir to avoid nasty
option re-definition problems.

--HG--
branch : trunk
2007-02-09 00:21:38 +01:00
guido 0bd286ba94 [svn r38216] Adjusting the conftest-for-socketgateway example so it takes care of the -S
option (like the default one does), this caused some test failure.

--HG--
branch : trunk
2007-02-08 23:50:00 +01:00
hpk 0a79e56b40 [svn r38201] fixing the windows conftest example to work with
the new rsync interface

--HG--
branch : trunk
2007-02-08 20:23:06 +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
fijal 2fe1fa07ff [svn r37861] Skip compat
--HG--
branch : trunk
2007-02-03 13:13:18 +01:00
hpk f21df1b455 [svn r37751] fix two other places that used capturing
(although the greenlet fix is not really
related, but i first saw it now on win32)

--HG--
branch : trunk
2007-02-01 16:58:10 +01:00
hpk c413f11daf [svn r37743] ah, there was yet another version of capturing hiding
--HG--
branch : trunk
2007-02-01 16:23:51 +01:00
hpk b706ec2f95 [svn r37741] monster checking for
* unifying IO capturing methods
* py.io.StdCapture and py.io.StdCaptureFD
  (and both have a classmethod 'call' that is
  a shortcut for capturing output while
  executing a function)
* removing lots of duplicate code
* providing some examples in py/doc/io.txt

at least tests on win32 and linux seem
to pass all for me.

--HG--
branch : trunk
2007-02-01 16:20:39 +01:00
hpk f915de1992 [svn r37696] removing py.test.compat.TestCase - it's small
code but nobody uses it i think and there is
no documentation.

--HG--
branch : trunk
2007-01-31 22:55:30 +01:00
hpk e721d85278 [svn r37641] removing py.path.extpy after all
--HG--
branch : trunk
2007-01-30 23:22:15 +01:00
hpk 12d1da1194 [svn r37498] bah, my local config but i want to have it committed to
get rid of the "M" state, ehem.

--HG--
branch : trunk
2007-01-28 21:09:02 +01:00
hpk e64d602cd2 [svn r37458] try to only rsync the py lib, not the dirpath() of it
--HG--
branch : trunk
2007-01-28 10:07:22 +01:00
hpk c736976568 [svn r37455] added a sample conftest.py to run windows tests remotely,
note the module docstring.

--HG--
branch : trunk
2007-01-28 09:46:34 +01:00
hpk b677355804 [svn r37450] skip auto-import checks of directive.py because it requires docutils
--HG--
branch : trunk
2007-01-27 21:15:21 +01:00
guido 1e7d516666 [svn r37315] Skipping test on Windows (no fcntl), removing stuff from try/finally body\n(too much crap in there, obfuscates errors).
--HG--
branch : trunk
2007-01-25 10:51:51 +01:00