arigo
a9c4c9876c
[svn r58091] Minor refactoring of a few methods. The point is to add a couple of
...
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
2008-09-12 21:31:31 +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
53220afc60
[svn r58037] adding small sysinfo script for retrieving remote host information
...
through execnet.
--HG--
branch : trunk
2008-09-10 13:28:42 +02:00
hpk
6842e5a769
[svn r58035] allow for passing in ssh_config files, deprecat "identity" argument
...
--HG--
branch : trunk
2008-09-10 11:48:44 +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
hpk
d2d5bbd918
[svn r58030] check for different output according to cpython version
...
--HG--
branch : trunk
2008-09-10 00:08:21 +02:00
hpk
3febdb049d
[svn r58028] reverting 58009 - webcheck is actually used although not directly tested.
...
--HG--
branch : trunk
2008-09-09 23:53:38 +02:00
hpk
0d955758ba
[svn r58027] skip specific test instead of all pexpect ones.
...
--HG--
branch : trunk
2008-09-09 23:40:21 +02:00
hpk
af33fb16f7
[svn r58026] avoiding an issue with older pexpect versions
...
--HG--
branch : trunk
2008-09-09 23:36:30 +02:00
hpk
71945dc1cc
[svn r58021] regen setup
...
--HG--
branch : trunk
2008-09-09 20:56:18 +02:00
hpk
7dfc85b046
[svn r58020] streamline pdb pexpect test
...
--HG--
branch : trunk
2008-09-09 20:18:22 +02:00
hpk
c7e867d969
[svn r58017] fixing two more glitches
...
--HG--
branch : trunk
2008-09-09 19:47:39 +02:00
hpk
2bac2ed175
[svn r58013] bah, forgot that helper uses fnmatch-style matching, not regular expression
...
--HG--
branch : trunk
2008-09-09 19:15:37 +02:00
hpk
05f2d6441d
[svn r58012] fix imports so that tests pass against pypy-dist
...
--HG--
branch : trunk
2008-09-09 19:02:28 +02:00
hpk
39440c91c9
[svn r58010] some support for old naming because many sites import ReST checker from this conftest.
...
--HG--
branch : trunk
2008-09-09 18:51:49 +02:00
hpk
0c1fe61f44
[svn r58009] move old webcheck things into contrib
...
--HG--
branch : trunk
2008-09-09 18:51:07 +02:00
hpk
573daf741b
[svn r57979] fix 2.3 compat
...
--HG--
branch : trunk
2008-09-08 18:01:11 +02:00
pedronis
2cb1b42b38
[svn r57977] (iko, pedronis)
...
- fixing a bug with test about the case when a multi line source cannot be retrieved
( test_repr_many_line_source_not_existing in test_excinfo.py )
- trying to make py test behave more like in the past in the face of fullsource errors, needed by pypy app test
infrastructure
( test_repr_source_failing_fullsource in test_excinfo.py )
--HG--
branch : trunk
2008-09-08 17:51:38 +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
hpk
e29a48b575
[svn r57834] try to accomodate the fact that some conftests like the Prolog-test ones
...
subclass Module but do not actually have an underlying python file.
Nowadays, they should subclass "py.test.collect.File".
--HG--
branch : trunk
2008-09-05 12:07:36 +02:00
hpk
a978e606c3
[svn r57833] simplify test setup
...
--HG--
branch : trunk
2008-09-05 11:28:25 +02:00
hpk
621f925985
[svn r57831] small test cleanups while prepping for pycon uk slides
...
--HG--
branch : trunk
2008-09-05 11:02:58 +02:00
arigo
b52c58159f
[svn r57790] Reintroduce the --tb option. Add test.
...
--HG--
branch : trunk
2008-09-03 10:15:44 +02:00
hpk
d83db97806
[svn r57772] tweak
...
--HG--
branch : trunk
2008-09-02 21:38:46 +02:00
hpk
314d103884
[svn r57771] adding Guido's py_unittest unittest TestCase collector, adapting to py/trunk API and simplifing it a bit.
...
--HG--
branch : trunk
2008-09-02 21:08:45 +02:00
hpk
9eb1d55380
[svn r57762] * settle on using suptest for supporting test runs
...
* fix a bug in getmodpath
* remove redundant functions/files
--HG--
branch : trunk
2008-09-02 16:31:42 +02:00
hpk
7518dcabc2
[svn r57758] unify test support, remove basetest.py
...
--HG--
branch : trunk
2008-09-02 15:22:10 +02:00
hpk
14cfc8d342
[svn r57757] adapt output checking test for slightly different output
...
--HG--
branch : trunk
2008-09-02 14:45:50 +02:00
hpk
4c38ff30ee
[svn r57756] * create new contrib directory
...
* move py/green to contrib/pygreen,
fix tests and code to pass
--HG--
branch : trunk
2008-09-02 14:42:35 +02:00
hpk
9f81afdd97
[svn r57755] regen setup, readme for trunk.
...
--HG--
branch : trunk
2008-09-02 14:26:22 +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
ee94d1d2bd
[svn r57707] review todo.txt and future/* items, merge into one TODO.txt file.
...
--HG--
branch : trunk
2008-09-01 10:37:17 +02:00
hpk
d9f3c868e8
[svn r57689] mentioning "-U" switch.
...
--HG--
branch : trunk
2008-08-29 20:55:42 +02:00
fijal
937b13c710
[svn r57609] Keep comments in the same style accross the file
...
--HG--
branch : trunk
2008-08-24 12:58:42 +02:00
hpk
861ff88484
[svn r57595] i've heart somewhere that running tests before checking in is a good idea (aka bah!)
...
--HG--
branch : trunk
2008-08-22 23:15:56 +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
a6f1e3d82f
[svn r57591] flush true by default
...
--HG--
branch : trunk
2008-08-22 19:07:04 +02:00
hpk
0dbe04abcb
[svn r57587] merging doc and tool changes from release branch
...
svn merge -r 57540:HEAD release/0.9.x
--HG--
branch : trunk
2008-08-22 15:41:17 +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
89cdf3b8a4
[svn r57558] should have come with 57557 - extend "acceptance" test machinery.
...
--HG--
branch : trunk
2008-08-21 16:26:27 +02:00
hpk
3652fbfe85
[svn r57557] add lookup in filenames and test machinery.
...
--HG--
branch : trunk
2008-08-21 16:25:24 +02:00
hpk
29af0e2d81
[svn r57556] remove special Function __repr__
...
--HG--
branch : trunk
2008-08-21 15:53:19 +02:00
hpk
a0cbc060b6
[svn r57554] fix case where argument to AssertionError has broken __repr__
...
--HG--
branch : trunk
2008-08-21 15:43:45 +02:00
hpk
162160acaf
[svn r57552] regen setup.py
...
--HG--
branch : trunk
2008-08-21 15:26:31 +02:00
hpk
b1069dec00
[svn r57551] normalizing py.which cmdline script
...
--HG--
branch : trunk
2008-08-21 15:25:29 +02:00
hpk
d7f09cfc0a
[svn r57550] * fixing syntax error
...
* removing setup.cfg
--HG--
branch : trunk
2008-08-21 15:12:31 +02:00
hpk
d7f4dd3794
[svn r57548] * introduce py.process.ForkedFunc object (previously lived at
...
py.io and before that py.test)
* avoid deprecated py/misc/terminal_helper.py
* starting changelog for 1.0
--HG--
branch : trunk
2008-08-21 14:12:20 +02:00
hpk
3702ca2c71
[svn r57546] * channels now also provide makefile(mode) with mode = 'r'
...
for providing file-like read/readline/close methods.
* added and refined crash and finalization tests
--HG--
branch : trunk
2008-08-21 14:04:43 +02:00