Commit Graph

1944 Commits

Author SHA1 Message Date
holger krekel 504e42a62e remove tox.ini for now
--HG--
branch : trunk
2010-06-17 13:25:28 +02:00
holger krekel 149f9e1042 refine reporting with --pdb some more
--HG--
branch : trunk
2010-06-17 12:53:29 +02:00
holger krekel 3f1efe1b57 fix --pdb to not drop interactive on xfailed tests
--HG--
branch : trunk
2010-06-16 12:35:08 +02:00
holger krekel 72de7d94fd adding a link to Floris' new post
--HG--
branch : trunk
2010-06-14 15:45:31 +02:00
Benjamin Peterson c3233b9c15 improve comment
--HG--
branch : trunk
2010-06-10 14:05:40 -05:00
Benjamin Peterson 2995d65720 fix assertion interpretation when the operator is **
--HG--
branch : trunk
2010-06-10 13:50:07 -05:00
holger krekel 77a7d576ec defer a number of other compiles to frame.eval (patch from Amaury on trunk/pypy fork, thanks)
--HG--
branch : trunk
2010-06-10 10:56:14 +02:00
holger krekel 3b30c5b67a defer compilation to frame.eval (pypy overrides frame.eval and has its own compilation
of source code to bytecode)

--HG--
branch : trunk
2010-06-10 09:53:40 +02:00
Benjamin Peterson 610cde6f85 Interpret assignments while examining asserts corrects
fixes #105

--HG--
branch : trunk
2010-06-09 14:53:11 -05:00
holger krekel add518e6b6 use new --junitprefix option for tox reporting
--HG--
branch : trunk
2010-06-09 16:35:50 +02:00
holger krekel bc6ead1a3c introduce a new --junitprefix option to influence xml reporting.
also internally avoid some redundant code.

--HG--
branch : trunk
2010-06-09 16:18:47 +02:00
holger krekel 0c04577f9f fix issue104 properly xml-escape names in junitxml files
--HG--
branch : trunk
2010-06-09 15:27:45 +02:00
holger krekel 523704f890 make py.test.raises as-VAR be an ExceptionInfo object
but only initialize it after the block is finished.

--HG--
branch : trunk
2010-06-09 14:45:41 +02:00
holger krekel 6951da7da0 merge Ronny's changes, add some documentation and changelog entries
--HG--
branch : trunk
2010-06-09 14:26:08 +02:00
holger krekel d83bf93154 less imports at function level, add a CHANGELOG entry - i guess
there are not many win32/python2.4 users anymore these days.

--HG--
branch : trunk
2010-06-09 12:07:12 +02:00
holger krekel 4437ecb385 make terminal tests pass on win32/python2.4 and update tox.ini
--HG--
branch : trunk
2010-06-09 12:01:13 +02:00
Ronny Pfannschmidt d1c8209875 support using py.test.raises in context manager style
--HG--
branch : trunk
2010-06-09 10:50:00 +02:00
holger krekel 6231bb0da3 capture a concrete idea for easing platform-specific testing.
--HG--
branch : trunk
2010-06-08 12:29:15 +02:00
holger krekel 64388832d9 introduce a new request.applymarker() function and refactor
internally to allow for dynamically adding keywords to test
items.

--HG--
branch : trunk
2010-06-08 02:34:51 +02:00
holger krekel d00b62e0f4 fix tox.ini
--HG--
branch : trunk
2010-06-07 23:23:24 +02:00
holger krekel 804dcd3521 some adjustments to make py.test --basetemp=XYZ work where
XYZ is a subdir the checkout which contains a conftest.py

--HG--
branch : trunk
2010-06-07 21:02:26 +02:00
holger krekel c1d0fc9aaf add ignore_errors to local.remove()
--HG--
branch : trunk
2010-06-07 20:48:36 +02:00
Ronny Pfannschmidt 8ece058256 remove py._path.gateway.* - its weird and unused
--HG--
branch : trunk
2010-06-07 15:13:28 +02:00
holger krekel 10b8de060a fix py.code.compile to generate unique filenames
--HG--
branch : trunk
2010-06-06 19:08:22 +02:00
holger krekel 10baa7f8af fix python3 failure by making a relative import work
--HG--
branch : trunk
2010-06-05 16:10:17 +02:00
holger krekel 740a668f52 adding a tox file and a note in changelog
--HG--
branch : trunk
2010-06-05 15:59:11 +02:00
holger krekel c56f4f9444 don't depend on (and don't actually use anymore) testing/__init__.py
--HG--
branch : trunk
2010-06-04 00:39:58 +02:00
holger krekel bdd1006e06 don't print empty lines with junitxml file printing
--HG--
branch : trunk
2010-06-04 00:39:18 +02:00
holger krekel 46f72d9350 add a CHANGELOG entry for ronny's changes
--HG--
branch : trunk
2010-06-03 15:51:59 +02:00
Ronny Pfannschmidt f8404be1b2 add a rootdir param to py.path.local.mkdtemp
--HG--
branch : trunk
2010-06-03 11:14:32 +02:00
Ronny Pfannschmidt 2e82ca5fde use tempdir.mkdtmp instead of mktmp + repeated tries for making tmpdirs
--HG--
branch : trunk
2010-06-03 10:59:24 +02:00
Ronny Pfannschmidt a07e494554 add kwarg support to py.errpr.checked_call
--HG--
branch : trunk
2010-06-03 10:21:48 +02:00
holger krekel 75d80ca183 fix pyimport() bug on directories
--HG--
branch : trunk
2010-05-31 17:06:46 +02:00
holger krekel 395bee4bc0 fix name of fedora package, thanks thm
--HG--
branch : trunk
2010-05-29 09:15:50 +02:00
holger krekel b66b5e2715 fix issue 57 - make --looponfail work with xpassing tests
--HG--
branch : trunk
2010-05-26 18:55:50 +02:00
holger krekel 73d9900844 add Meme's pytest-cov plugin to the plugin index page
--HG--
branch : trunk
2010-05-26 14:48:27 +02:00
holger krekel 6cc89c9fcf Added tag 1.3.1 for changeset 8b8e7c25a13c
--HG--
branch : trunk
2010-05-25 21:09:21 +02:00
holger krekel 2e36e2619f update plugin docs, restructure release announcement a bit
--HG--
branch : trunk
2010-05-25 21:01:43 +02:00
holger krekel 3042d1442a Added tag 1.3.1 for changeset d5eacf390af7
--HG--
branch : trunk
2010-05-25 20:47:00 +02:00
holger krekel 312238c023 update release announcement
--HG--
branch : trunk
2010-05-25 20:46:51 +02:00
holger krekel ff2b893d31 fix for py3 exception printing logic
--HG--
branch : trunk
2010-05-25 17:24:24 +02:00
holger krekel c953c7d313 fix issue102 by introducing a --maxfailures=NUM option
also print an informative line about "stopped/interrupted" test runs
near the end.

--HG--
branch : trunk
2010-05-25 16:52:09 +02:00
holger krekel fbcf9ec543 merge changes
--HG--
branch : trunk
2010-05-25 16:55:30 +02:00
holger krekel 9173b60677 internal test runs: do inline_run() without io-capturing
as this nested capturing can leave open FDs which breaks
larger test runs.  also introduce an internal option "--lsof"
for checking the number of file descriptors

--HG--
branch : trunk
2010-05-25 12:24:51 +02:00
holger krekel 7fc7b4307b adding xfail example
--HG--
branch : trunk
2010-05-22 17:22:31 +02:00
holger krekel 545aab85f2 py-1.3.1 release prep and version bumping
--HG--
branch : trunk
2010-05-22 17:11:30 +02:00
holger krekel fa074da5a9 when --runxfail is supplied also show tracebacks when running a test that
calls py.test.xfail

--HG--
branch : trunk
2010-05-22 17:08:49 +02:00
holger krekel 29a5b7452e * improve and test --tb=short reporting
* show --tb=short tracebacks for importing test modules

--HG--
branch : trunk
2010-05-22 16:18:24 +02:00
holger krekel 94ce5b0a5a refine and structure CHANGELOG
--HG--
branch : trunk
2010-05-22 14:13:01 +02:00
holger krekel 93712a3ce6 terser reporting header
--HG--
branch : trunk
2010-05-22 13:59:01 +02:00