Commit Graph

1860 Commits

Author SHA1 Message Date
holger krekel aa4308883c py.test-1.3.1 does not provide py.test proper for jython, only py.test-jython
(py.test-1.3.2 will provide py.test even for jython installs)

--HG--
branch : trunk
2010-07-01 19:54:28 +02:00
holger krekel 381b81b0e1 actually run only "testing" tests
--HG--
branch : trunk
2010-07-01 19:46:22 +02:00
holger krekel 7335c4d06d add jython env
--HG--
branch : trunk
2010-07-01 19:43:46 +02:00
holger krekel f554fa03ae make initial conftest finding ignore "--" arguments
--HG--
branch : trunk
2010-07-01 19:27:40 +02:00
holger krekel 6fa58fd8c9 (ARGH) of windows/hudson/multi-config combo produces too long filenames, so use the global temp dir
--HG--
branch : trunk
2010-07-01 18:39:25 +02:00
holger krekel c57a24774d use confcutdir
--HG--
branch : trunk
2010-07-01 18:12:38 +02:00
holger krekel d51000b15d add a tox.ini file
--HG--
branch : trunk
2010-07-01 17:59:35 +02:00
holger krekel b8db15a94f refine bestrelpath to return "." for X.bestrelpath(X) and refine its docstring
--HG--
branch : trunk
2010-06-28 16:32:43 +02:00
holger krekel 2f50ed3e99 install plain py.test script also for jython
--HG--
branch : trunk
2010-06-28 11:59:12 +02:00
holger krekel da52304a6e adjust changelog, add fixed issue92
--HG--
branch : trunk
2010-06-28 11:26:19 +02:00
Benjamin Peterson f8d3a80af5 name CollectOnlyReporter's output attribute "_tw" for consistency with TerminalReporter
This fixes #92.

--HG--
branch : trunk
2010-06-27 18:17:47 -05:00
Benjamin Peterson df744e9182 merge heads
--HG--
branch : trunk
2010-06-25 12:25:44 -05:00
Benjamin Peterson d82d65d95e remove uneeded exec
--HG--
branch : trunk
2010-06-25 12:24:51 -05:00
holger krekel f856db29dc refine py.process.cmdexec handling wrt unicode on all python versions
--HG--
branch : trunk
2010-06-25 10:30:15 +02:00
Benjamin Peterson 4d75c703a0 correct expected message
--HG--
branch : trunk
2010-06-18 22:55:06 -05:00
holger krekel 3a8d13599e a fix from maciej who claims this fixes issues on some systems.
passes all tests so i just apply it.

--HG--
branch : trunk
2010-06-17 18:04:36 +02:00
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