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
move the FileLogSession into the py.lib proper, activated with the option --resultlog (suggestions
for a better name are welcome)
- added its tests
- plus a functional/integration test in test_config in the style of the one for eventlog
--HG--
branch : trunk
nicely for common tedious causes of skipping:
import a module and checking it has a certain
version. usage example:
docutils = py.test.importorskip(docutils, minversion="0.4")
* used new helper and cleanup skipping logic in py lib
--HG--
branch : trunk
KeyboardInterrupt handling:
* in --verbose mode, print a detailed traceback at the end of
the report.
* in non-verbose mode, only print the file name and line number
where the KeyboardInterrupt occurred. That's the minimal
amount of information that is of any help at all to locate
an infinite loop somewhere.
--HG--
branch : trunk
hooks for my conftest. This is a bit hard to test, and I don't even
know if it's worth a comment, as I'm ready to fix my conftest when
needed.
--HG--
branch : trunk
* introduce py.test.collect.Collector.collect_by_name and
special case it for Directories to allow specifying
files that would otherwise be ignored because of filters.
* fix py/doc/conftest to work with new API
* refactor py/doc/test_conftest.py to use suptest helper
* avoid old APIs in some more places.
--HG--
branch : trunk
* collectors now have a collect() method
* items have a runtest() method
* deprecated old run/join of collectors and
run/execute methods of items
--HG--
branch : trunk
returns either a nulltracer or opens a log in the tracedir
and returns an object that you can call with args to print
into the file.
--HG--
branch : trunk
* 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
revisions 47584 to 51032:
------------------------------------------------------------------------
r51030 | hpk | 2008-01-25 14:30:54 +0100 (Fri, 25 Jan 2008) | 5 lines
fixing test and restoring the functionality
that session.main returns a list of failures
(py.test --exec=python should work again)
------------------------------------------------------------------------
r50984 | hpk | 2008-01-24 18:27:06 +0100 (Thu, 24 Jan 2008) | 1 line
avoid reporting hooks on session object
------------------------------------------------------------------------
r49391 | fijal | 2007-12-05 17:33:05 +0100 (Wed, 05 Dec 2007) | 2 lines
Don't cache results.
------------------------------------------------------------------------
r48698 | fijal | 2007-11-15 01:31:42 +0100 (Thu, 15 Nov 2007) | 2 lines
Uh. 2.4 compatibility
------------------------------------------------------------------------
r48318 | fijal | 2007-11-05 16:47:34 +0100 (Mon, 05 Nov 2007) | 3 lines
Seems that --pdb don't need to imply -s and worked out of the box.
I've got no idea how to test it though :-/
------------------------------------------------------------------------
r48140 | fijal | 2007-10-28 19:43:21 +0100 (Sun, 28 Oct 2007) | 2 lines
Reintroduce boxing
------------------------------------------------------------------------
r48138 | fijal | 2007-10-28 19:22:42 +0100 (Sun, 28 Oct 2007) | 2 lines
Share more code.
------------------------------------------------------------------------
r48130 | fijal | 2007-10-28 14:58:42 +0100 (Sun, 28 Oct 2007) | 2 lines
Add --collectonly handling, new style, logic separated
------------------------------------------------------------------------
r48129 | fijal | 2007-10-28 14:41:06 +0100 (Sun, 28 Oct 2007) | 2 lines
Refactor LocalReporter not to rely on hosts being there
------------------------------------------------------------------------
r48128 | fijal | 2007-10-28 14:24:41 +0100 (Sun, 28 Oct 2007) | 2 lines
Small regactoring for simple usage of default reporter class
------------------------------------------------------------------------
r48127 | fijal | 2007-10-28 12:56:41 +0100 (Sun, 28 Oct 2007) | 2 lines
Remove terminal session as it's no longer needed
------------------------------------------------------------------------
r48126 | fijal | 2007-10-28 12:48:35 +0100 (Sun, 28 Oct 2007) | 2 lines
Some real test for itemgen
------------------------------------------------------------------------
r47678 | fijal | 2007-10-21 18:43:54 +0200 (Sun, 21 Oct 2007) | 2 lines
Make even less things working.
------------------------------------------------------------------------
r47667 | fijal | 2007-10-21 13:00:20 +0200 (Sun, 21 Oct 2007) | 4 lines
Huge refactoring, the target is unification of session reporters and
eventually sessions. Right now there is about 200 lines of code cut,
but there is still some code to die and also some features missing :)
------------------------------------------------------------------------
r47660 | fijal | 2007-10-21 00:02:04 +0200 (Sun, 21 Oct 2007) | 2 lines
Create a new branch for reporter merge
------------------------------------------------------------------------
--HG--
branch : trunk
* killed _tryiter usage in rsession
* moved reporter one level up, so it can be reused later for normal session
* a lot of small simplifications
--HG--
branch : trunk
Kill a hack for explicit isinstance(). We've got just two methods,
so doing full getmro doesn't seem to make too much sense.
Anyway this changes semantics slightly, so now we rely on exact
inheritance rather than name (I don't have good answer for those)
--HG--
branch : trunk