Commit Graph

2946 Commits

Author SHA1 Message Date
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
pedronis 5cbc7f34db [svn r62738] quick fix of setup.py
--HG--
branch : trunk
2009-03-08 22:08:01 +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 97005dc4bb [svn r60977] add a few notes that i discussed with Brian when i was in Seattle
--HG--
branch : trunk
2009-01-14 22:07:05 +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 617afe71a1 [svn r60975] a bit of planning for 1.0
--HG--
branch : trunk
2009-01-14 21:08:52 +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
hpk 2ad9d8a3c6 [svn r59728] fix broken import exposed by a pypy test (bah)
--HG--
branch : trunk
2008-11-05 18:08:39 +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