holger krekel
771438fde5
* refine and rename pycollect related hooks
...
* refine runtest/test function call protocol
--HG--
branch : trunk
2009-06-15 15:15:40 +02:00
holger krekel
3f50470c6a
striking config from Node signature
...
--HG--
branch : trunk
2009-06-11 18:23:32 +02:00
Samuele Pedroni
3b23b98cb5
sorting should be an option collector->child interface
...
--HG--
branch : trunk
2009-05-19 18:28:51 +02:00
Samuele Pedroni
842d14cd33
move _getparent to Node and make it public
...
--HG--
branch : trunk
2009-05-19 18:13:33 +02:00
Samuele Pedroni
b392b0eac1
- rename metainfo to reportinfo for clarity
...
- report hook: pytest_report_iteminfo to override the .reportinfo() as provided by items
--HG--
branch : trunk
2009-05-12 17:02:22 +02:00
holger krekel
8182d341a5
rename "api" into "hook" in most places.
...
--HG--
branch : trunk
2009-05-07 18:01:53 +02:00
holger krekel
0de4a13623
provide basic metainfo because the terminal reporter needs it for printing progress.
...
--HG--
branch : trunk
2009-05-07 15:44:39 +02:00
holger krekel
aad04ea8ae
* kill some code and indirections
...
* have metainfo() directly provide fileinfo + message
--HG--
branch : trunk
2009-05-05 23:52:25 +02:00
holger krekel
3245b0c1af
greatly refine deprecaction warnings and use new "recwarn" plugin for it.
...
--HG--
branch : trunk
2009-05-05 22:31:18 +02:00
hpk
58cc8c29d3
[svn r63914] py.log._apiwarn is fine enough because it's something
...
of an py lib internal api deprecation mechanism atm.
--HG--
branch : trunk
2009-04-09 22:34:28 +02:00
hpk
2ffb68c177
[svn r63913] make py.log.APIWARN available
...
--HG--
branch : trunk
2009-04-09 22:32:04 +02:00
hpk
73529ce63d
[svn r63911] striking unneeded call_each from pluginmanager
...
--HG--
branch : trunk
2009-04-09 20:39:59 +02:00
hpk
5d271b2bde
[svn r63894] grand renaming on plugin-related mostly internal objects.
...
--HG--
branch : trunk
2009-04-09 16:03:09 +02:00
hpk
0300b2109c
[svn r63822] simplifying and strictifying the internal calls to plugins using
...
the new "api" mechanism.
--HG--
branch : trunk
2009-04-08 12:06:21 +02:00
hpk
4f5020c3dd
[svn r63686] fixing docstring, removing dead code.
...
--HG--
branch : trunk
2009-04-05 22:34:41 +02:00
hpk
db60fe7f37
[svn r63588] shift running of test item to be done through a plugin method.
...
--HG--
branch : trunk
2009-04-03 23:18:41 +02:00
hpk
d9242d2a75
[svn r63054] several windows fixes, test suite passes now remotely.
...
--HG--
branch : trunk
2009-03-18 21:49:38 +01:00
hpk
5f25395cdd
[svn r63051] be very careful when we cannot unpickle an
...
colitem because its parent can't collect
the same way as on the sending side.
(due to platform skips etc.)
--HG--
branch : trunk
2009-03-18 20:23:38 +01:00
hpk
d626a63934
[svn r63017] rename colitem._config to colitem.config - it's an official attribute
...
--HG--
branch : trunk
2009-03-18 00:48:07 +01:00
rxe
ab3f409b4e
[svn r62832] unbound res on special files
...
--HG--
branch : trunk
2009-03-10 22:39:39 +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
ad06cfdc9d
[svn r62613] introduced a pytest_collect_directory hook.
...
--HG--
branch : trunk
2009-03-05 23:15:42 +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
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
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
hpk
ef5709d30b
[svn r58311] remove dead code.
...
--HG--
branch : trunk
2008-09-21 19:51:44 +02:00
arigo
2742204d67
[svn r58090] Add a hack with a comment that explains why I think it is a hack.
...
I fear I don't care enough about --tb=short to do the "proper" fix
as documented in the comment.
--HG--
branch : trunk
2008-09-12 21:16:34 +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
pedronis
7a21f7157e
[svn r57971] (iko, pedronis)
...
make the Directory collection return files sorted by name again, as it seemed expected by the tests
--HG--
branch : trunk
2008-09-08 15:02:35 +02:00
arigo
b52c58159f
[svn r57790] Reintroduce the --tb option. Add test.
...
--HG--
branch : trunk
2008-09-03 10:15:44 +02:00
hpk
561a14054c
[svn r57754] * introduce py.test.collect.File (File for py or non-py files)
...
* 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
2008-09-02 14:24:15 +02:00
hpk
494ea31042
[svn r57744] Merging collection-API refactoring branch:
...
* 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
2008-09-02 10:58:14 +02:00
hpk
354feff9a6
[svn r57594] * adding tracing to dsession and master/slave communication
...
(enable with --tracedir)
* factor slave loop into a class
* add comment to pickling
--HG--
branch : trunk
2008-08-22 23:14:43 +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
d4c3b3ce85
[svn r56285] sanitize doctesting a bit. this also fixes the problem that you could not have "import" working in doctests previously. thanks nshepperd.
...
--HG--
branch : trunk
2008-07-04 09:14:36 +02: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
fijal
b97ff86b0f
[svn r47584] Implement very sophisticated algorith for -k TestClass.test to work
...
--HG--
branch : trunk
2007-10-19 15:46:10 +02:00
fijal
28c5aae67d
[svn r46011] Branch merge of session cleanups.
...
* 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
2007-08-27 11:02:50 +02:00
fijal
a18a291dee
[svn r45655] Kill unnecessary sanity check
...
--HG--
branch : trunk
2007-08-14 17:21:02 +02:00
pedronis
856c7e5695
[svn r44655] be consistent in super usage
...
--HG--
branch : trunk
2007-07-01 15:44:40 +02:00
pedronis
6ec2be9985
[svn r44648] PyCollectorMixin is intented to override Collector behavior, if we want to use super it really
...
needs to subclass from it to get mros to that effect.
If the obscure semi-override was intentional (?) holler
--HG--
branch : trunk
2007-07-01 14:18:02 +02:00
arigo
a86118d77b
[svn r41480] Move the FunctionMixin to collect.py, as an attempt to avoid circular
...
imports.
--HG--
branch : trunk
2007-03-27 15:28:18 +02:00
arigo
5506b03f81
[svn r40702] (pedronis, arigo)
...
Add setup/teardown calls around generators, with the same semantics as
around functions and methods.
--HG--
branch : trunk
2007-03-18 16:59:45 +01:00
hpk
3ab95e5672
[svn r38747] hum, a last-minute namespace change: i missed
...
that fijal didn't move py.test.Item|Function to the py.test.collect namespace
at the time. a pypy fix will follow shortly after i merged the dist.
--HG--
branch : trunk
2007-02-13 20:21:53 +01:00
hpk
a43ff3108f
[svn r38568] improving r38560 a bit
...
--HG--
branch : trunk
2007-02-12 15:58:14 +01:00
fijal
6294a4b189
[svn r38560] Compare collectors by id rather than by name. It needs to be rethought
...
a bit.
--HG--
branch : trunk
2007-02-12 14:20:49 +01:00
hpk
5c000e57f1
[svn r38474] make io capturing configurable per e.g.
...
conf_iocapture = "sys"
by default it has "fd" for performing fd-based capturing
--HG--
branch : trunk
2007-02-11 17:25:01 +01:00
hpk
ee40787bf1
[svn r37885] adding docstrings, stripping non-used names from import
...
--HG--
branch : trunk
2007-02-03 21:33:12 +01:00
fijal
309f3e2cec
[svn r37884] Few missing Skipped
...
--HG--
branch : trunk
2007-02-03 21:15:55 +01:00