xoraxax
8f733a426f
[svn r42215] Copy with SVN history and restore test.
...
--HG--
branch : trunk
2007-04-20 18:40:39 +02:00
xoraxax
2dd380575c
[svn r42188] Revive test/compat.py again, seems to work fine for me. Can be used by patching sys.modules["unittest"] in the conftest.py file.
...
--HG--
branch : trunk
2007-04-20 00:39:27 +02:00
fijal
50d77c64c0
[svn r41860] * kill start_on
...
* add keyword_oneshot flag, which indicates that -k is only one shot
than all tests are run
* simplify code a bit
--HG--
branch : trunk
2007-04-03 19:28:04 +02:00
fijal
d8e5e63235
[svn r41855] Add a bit hackish option which allows to start from selected
...
keyword test, doesn't work with rsession yet.
--HG--
branch : trunk
2007-04-03 17:23:00 +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
guido
417d97c850
[svn r41080] Added support for filtering listdir() calls in the SourcePageBuilder, using it
...
to filter out hidden files and the 'build' subdir of greenlet.
--HG--
branch : trunk
2007-03-22 16:06:41 +01:00
fijal
633a3a67a3
[svn r40943] Regenerate js
...
--HG--
branch : trunk
2007-03-21 15:49:49 +01:00
fijal
c2d010ad92
[svn r40753] Make MAX_COUNTER small enough. It's an obscure hack, but at least works
...
--HG--
branch : trunk
2007-03-19 11:43:49 +01:00
fijal
ae3e6b9bf0
[svn r40739] Make FAILED TO LOAD MODULE clickable
...
--HG--
branch : trunk
2007-03-18 23:53:14 +01:00
fijal
f6980c4b9d
[svn r40738] Count also FAILED TO LOAD MODULE failures in web interface
...
--HG--
branch : trunk
2007-03-18 23:44:54 +01:00
fijal
3943673739
[svn r40737] A fix that allows (for command line reporter) to report failure in case
...
when FAILED TO LOAD MODULE
--HG--
branch : trunk
2007-03-18 23:38:57 +01: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
fijal
34a4991edd
[svn r39995] Possibly controversial checkin.
...
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
2007-03-06 19:06:37 +01:00
fijal
2cd886f442
[svn r39340] A fix and a test. Thanks Marian Shubert for reporting problem
...
--HG--
branch : trunk
2007-02-23 15:22:50 +01:00
hpk
f12b95ff5a
[svn r38760] fix ehem syntax ehem error
...
--HG--
branch : trunk
2007-02-13 21:40:29 +01:00
hpk
a3dd6dfd7c
[svn r38755] fix reporting of duplicate remote host rsyncs
...
and adding an XXX test (not easy to test ssh hosts
because it modifies remote state)
--HG--
branch : trunk
2007-02-13 21:09:25 +01:00
fijal
87aabe079e
[svn r38749] Regenerated js
...
--HG--
branch : trunk
2007-02-13 20:30:19 +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
fijal
614675743d
[svn r38726] shuffle -> sample
...
--HG--
branch : trunk
2007-02-13 17:37:26 +01:00
fijal
97a82f2df2
[svn r38713] Use self.source wherever applicable
...
--HG--
branch : trunk
2007-02-13 16:34:16 +01:00
fijal
de57df5134
[svn r38712] Avoid py.test.config._reparse([])
...
--HG--
branch : trunk
2007-02-13 16:32:49 +01:00
fijal
a38f606825
[svn r38711] Avoid infinte recursion when rsyncing (well finite - OSError file too long)
...
--HG--
branch : trunk
2007-02-13 16:31:31 +01:00
fijal
44337db211
[svn r38710] Invoke the skip rather than have it
...
--HG--
branch : trunk
2007-02-13 16:24:33 +01:00
fijal
f149de635c
[svn r38709] kill dead code
...
--HG--
branch : trunk
2007-02-13 16:24:08 +01:00
fijal
db6df474fe
[svn r38708] document.location is not in DOM. We need to implemented some stuff in
...
js backend to be able to test this
--HG--
branch : trunk
2007-02-13 16:15:26 +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
fijal
53c204962a
[svn r38577] Test for explicit Failed
...
--HG--
branch : trunk
2007-02-12 16:40:04 +01:00
fijal
ba07ab5533
[svn r38576] typo!
...
--HG--
branch : trunk
2007-02-12 16:30:32 +01:00
fijal
de078273a0
[svn r38574] Special case outcome.Failed - reuse that excinfo
...
--HG--
branch : trunk
2007-02-12 16:28:28 +01:00
fijal
6210030d27
[svn r38573] This tests was completely broken when pypy is there
...
--HG--
branch : trunk
2007-02-12 16:28:09 +01:00
fijal
cb87cd42cc
[svn r38572] Move a bit into using high-level traceback interface instead of low-level one
...
--HG--
branch : trunk
2007-02-12 16:27:46 +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
fijal
d01fb4a18e
[svn r38559] Give info about tests in case of failure/interruption
...
--HG--
branch : trunk
2007-02-12 14:14:36 +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
00c7ccfaa0
[svn r38508] skip signal detection tests for python < 2.4
...
(2.4 and 2.5 work apparently)
--HG--
branch : trunk
2007-02-11 19:56:08 +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
14ad83da06
[svn r38496] don't print the test-mode, that needs more thought how
...
to do it now
--HG--
branch : trunk
2007-02-11 19:01:19 +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
hpk
22d98ac3a1
[svn r38460] removing a very-likely-obsolete test
...
and otherwise fixing files and tests
to do py.test.skip()s only during setup.
--HG--
branch : trunk
2007-02-11 14:46:46 +01:00
hpk
e068a463a1
[svn r38459] two functions with the same name, use the latter one.
...
--HG--
branch : trunk
2007-02-11 14:45:49 +01:00
guido
ac5c05b688
[svn r38438] Rolling back r38422 and part of r38397 because it made that a lot of stuff was
...
printed to stdout/err.
--HG--
branch : trunk
2007-02-11 02:54:22 +01:00
fijal
7dd0491764
[svn r38422] Argh. Forgotten to check that in
...
--HG--
branch : trunk
2007-02-10 22:56:23 +01:00
hpk
1095cec0dc
[svn r38398] for setup/teardown pairs the correct idiom is
...
setup()
try:
...
finally:
teardown()
and not to do the setup() within the try,
because if that raises, teardown() will
likely go wrong as well etc.
--HG--
branch : trunk
2007-02-10 18:00:58 +01:00
fijal
1739ba4f55
[svn r38397] Kill PidInfo and make boxing optional for distributed testing.
...
This should make dist testing on windows possible.
--HG--
branch : trunk
2007-02-10 17:50:47 +01:00
hpk
e280dfe1f0
[svn r38392] looponfailing tricked me into committing too early
...
(syntax error, bah)
--HG--
branch : trunk
2007-02-10 16:07:30 +01:00
hpk
bc009c4aef
[svn r38391] check more exactly if we are working
...
from a default rsync_root (checking
for rsync_root == topdir is not safe
as the topdir may be explicitely contained
in the rsync_root list)
--HG--
branch : trunk
2007-02-10 16:05:32 +01:00