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
f319a84503
[svn r63910] removing old mentionings of "bus". docstrings.
...
--HG--
branch : trunk
2009-04-09 20:07:05 +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
cd038ee708
[svn r63888] finally. the event concept is basically gone.
...
now we only have plugin hooks aka plugin calls
--HG--
branch : trunk
2009-04-09 02:36:07 +02:00
hpk
0c4fc99a6f
[svn r63887] move rest of events
...
--HG--
branch : trunk
2009-04-09 02:12:10 +02:00
hpk
f14fc582e9
[svn r63808] * refinements/renames to new PluginAPI
...
* have pytest_runner start to use it, passes the main test
--HG--
branch : trunk
2009-04-07 22:46:50 +02:00
hpk
bba69f207b
[svn r63797] introduce a clean "guardedcall" interface for performing calls with exception catching and stdout/stderr capturing
...
--HG--
branch : trunk
2009-04-07 16:27:57 +02:00
hpk
ba6eca8da4
[svn r63628] * shuffle SetupState and fixture handling into runner.py
...
* introduce a itemsetupreport and new setupitem/teardownitem methods.
* more tests
--HG--
branch : trunk
2009-04-04 21:06:20 +02:00
hpk
92e354a486
[svn r63339] undo rev 63000 so that there is only one method now for funcargs
...
--HG--
branch : trunk
2009-03-26 10:26:09 +01:00
hpk
74958be548
[svn r63300] * refining pyfuncarg setup, now there is explicit registration!
...
* porting monkeypatch and pytester funcargs to the new method
* fixing a kind-of-a-bug with MultiCalls
--HG--
branch : trunk
2009-03-24 23:00:07 +01:00
hpk
ad6afe21ff
[svn r63209] polish command line options for distributed testing.
...
--HG--
branch : trunk
2009-03-22 18:41:36 +01:00
hpk
bda844b544
[svn r63201] allow to specify "3*" for host specs.
...
--HG--
branch : trunk
2009-03-22 02:19:57 +01:00
hpk
422635ea47
[svn r63195] * fix rsyncdir usages all around
...
* rename looponfailing to looponfail
--HG--
branch : trunk
2009-03-21 21:07:45 +01:00
hpk
0ba4bd25ac
[svn r63193] normalize towards 'iocapture' option
...
--HG--
branch : trunk
2009-03-21 20:58:41 +01:00
hpk
fc14b038af
[svn r63191] * remove "--exec"
...
* cleanup of options
--HG--
branch : trunk
2009-03-21 20:28:35 +01:00
hpk
6a1db0a594
[svn r63162] all tests pass again, output on test node setup and initialization is now much nicer.
...
--HG--
branch : trunk
2009-03-21 02:31:27 +01:00
hpk
cfa0cf4cfe
[svn r63056] try to ignore build directory (which shouldn't be there at all) for rsyncing
...
--HG--
branch : trunk
2009-03-18 22:24:42 +01:00
hpk
4aac96fa13
[svn r63000] * do an as lightweight config.mktemp() as possible
...
* avoid writing lock files if lock_timeout is 0 or None
--HG--
branch : trunk
2009-03-17 15:12:10 +01:00
hpk
fc7abf0efe
[svn r62997] some more tests, seems like temp test dirs are now more contained when doing distributed testing
...
--HG--
branch : trunk
2009-03-17 13:42:40 +01:00
hpk
7ed26c2929
[svn r62993] * moving ensuretemp to config object
...
* adding --basetemp option
* added/rewrote some tests
--HG--
branch : trunk
2009-03-17 11:29:45 +01:00
hpk
bbdebac87a
[svn r62982] report basic configuration errors more gracefully to the user
...
--HG--
branch : trunk
2009-03-17 08:03:49 +01:00
hpk
771ce92fdf
[svn r62981] allowing conftest to set default values for options
...
--HG--
branch : trunk
2009-03-17 07:10:40 +01:00
hpk
b5a1f95856
[svn r62978] * introduce --hosts and --rsyncdirs optiosn
...
* re-sort option groups, disable some options for now
* add docstrings to execnet gatewaymanage
* streamline tests a bit
* unify debugging and tracing
--HG--
branch : trunk
2009-03-16 22:17:14 +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
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
50acc51ac1
[svn r62290] slightly sanitizing initialization of serialised config objects.
...
--HG--
branch : trunk
2009-03-01 14:43:53 +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
82044fd873
[svn r62245] fixed more wrong renames, fine-tuning
...
--HG--
branch : trunk
2009-02-27 16:46:00 +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
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
a6f1e3d82f
[svn r57591] flush true by default
...
--HG--
branch : trunk
2008-08-22 19:07:04 +02:00
hpk
7adfbfa166
[svn r57565] also introduce config.maketrace(name, flush=False) which
...
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
2008-08-21 19:39:34 +02:00
hpk
bf42c88e48
[svn r57564] adding an option for setting a tracedirectory so that components can write log files,
...
depending on what they get from config.gettracedir()
--HG--
branch : trunk
2008-08-21 19:25:48 +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
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
hpk
a992ca7427
[svn r38706] privatizing config.conftest to config._conftest as well
...
--HG--
branch : trunk
2007-02-13 16:05:21 +01:00
hpk
d1008d3752
[svn r38549] also privatizing Config.initdirect (which relates to remote reprs and such)
...
--HG--
branch : trunk
2007-02-12 13:21:16 +01:00
hpk
5d36fbf365
[svn r38548] carefully privatizing Config.make_repr and Config.merge_repr
...
by doing a whole-pylib replace and reviewing the diff in detail
--HG--
branch : trunk
2007-02-12 13:18:23 +01:00
hpk
ff9df3c079
[svn r38506] config.getvalue_pathlist should also honour option values
...
(to be uniform with getvalue semantics)
--HG--
branch : trunk
2007-02-11 19:47:04 +01:00
hpk
7973f472d7
[svn r38505] clarify that config.getvalue will first lookup
...
in options.
--HG--
branch : trunk
2007-02-11 19:43:34 +01:00
hpk
bda58e9862
[svn r38484] make config.option override any conftest provided value.
...
--HG--
branch : trunk
2007-02-11 18:08:13 +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
fijal
aa4896fa04
[svn r38249] It seems that there was somehow different idea in mind, but I actually
...
do not get it.
Right now there is no way to override default session other than
from py.__.test import config; config.TerminalSession = 'name_to_import'
which is scary. Holger please take a look.
--HG--
branch : trunk
2007-02-09 14:24:08 +01:00
hpk
ab6dded07a
[svn r38207] revert 38182 and 38184 changes to ensuretemp()
...
because getpid() is different per thread
(and if e.g. run via execnet in threads ...
it creates new tempdirectories all the time)
let's consider this sometime else
--HG--
branch : trunk
2007-02-08 21:31:50 +01:00
hpk
411157756b
[svn r38184] avoid globals and add a comment
...
--HG--
branch : trunk
2007-02-08 18:39:03 +01:00
guido
e89d5e5880
[svn r38182] Made that ensuretemp() creates a new dir after forks.
...
--HG--
branch : trunk
2007-02-08 18:25:32 +01:00
hpk
77b8a010c5
[svn r38097] streamline boxed test configuration:
...
"config.option.boxed" indicates now boxed tests
and RSession.fixoptions takes care to honour
dist_boxed accordingly. So you can do
if not py.test.config.boxed:
py.test.skip(...)
i also fixed the documentation.
--HG--
branch : trunk
2007-02-07 19:43:23 +01:00