Ronny Pfannschmidt
|
ba79c1926c
|
add a test for issue 14 that will xfail on python < 2.7
|
2013-03-25 08:53:08 +01:00 |
Ronny Pfannschmidt
|
76fb51a4ba
|
fix issue 271 - dont write junitxml on slave nodes
|
2013-03-24 20:43:25 +01:00 |
Ronny Pfannschmidt
|
93da606763
|
fix Issue 274 - dont fail when doctest does not know the example location
instead only the last test is shown, this could use some further enhancement
|
2013-03-24 20:05:29 +01:00 |
holger krekel
|
8f8466ee40
|
Merged in witsch/pytest/doctest-fixtures (pull request #25)
fixture support in doctests
|
2013-03-21 12:33:43 +01:00 |
Andreas Zeidler
|
dfcb0e322c
|
rename `get_fixture` to `getfixture` to better match the current API style
--HG--
branch : doctest-fixtures
|
2013-03-21 12:04:14 +01:00 |
Andreas Zeidler
|
da3b42ce46
|
remove debugging left-overs
--HG--
branch : doctest-fixtures
|
2013-03-21 01:03:59 +01:00 |
Andreas Zeidler
|
5a3547dd7e
|
also provide `get_fixture` helper for module level doctests
--HG--
branch : doctest-fixtures
|
2013-03-20 17:32:48 +01:00 |
Andreas Zeidler
|
c4b3a09886
|
test `get_fixture` helper for doctests
--HG--
branch : doctest-fixtures
|
2013-03-20 17:14:28 +01:00 |
Benjamin Peterson
|
0cf79b29cd
|
in the default Python 2 case, manually check the source is ASCII (fixes #269)
|
2013-03-08 10:44:41 -05:00 |
Floris Bruynooghe
|
48e6aa9dc7
|
Allow MarkEvaluator expressions to be unicode
This fixes issue #266.
|
2013-02-15 11:47:48 +00:00 |
Ronny Pfannschmidt
|
0dd05023b8
|
fix issue 251 - report a skip instead of ignoring classes with init
|
2013-02-15 10:18:00 +01:00 |
Ronny Pfannschmidt
|
69ef750091
|
fix issue134 - print the collect errors that prevent running specified test items
|
2013-02-14 12:21:42 +01:00 |
holger krekel
|
857c99d354
|
fix py32 incompatible syntax
|
2013-02-14 12:17:23 +01:00 |
holger krekel
|
d0e18ac63f
|
issue250 unicode/str mixes in parametrization names and values now works
|
2013-02-12 23:30:34 +01:00 |
holger krekel
|
296f752cca
|
fix --genscript option to generate standalone scripts that also
work with python3.3 (importer ordering)
|
2013-02-12 22:59:29 +01:00 |
holger krekel
|
456731ed0f
|
fix issue257 assertion-triggered compilation of source ending in a
comment line doesn't blow up in python2.5 (fixed through py>=1.4.13.dev6)
|
2013-02-12 22:43:33 +01:00 |
holger krekel
|
c8653b4c02
|
merge
|
2013-02-12 20:45:01 +01:00 |
Ronny Pfannschmidt
|
162c3689c6
|
fix issue 260 - don't use nose specials on plain unittest cases
|
2013-02-07 17:53:13 +01:00 |
holger krekel
|
570ad36eaf
|
fix parametrized testid to provide for uniqueness
|
2013-02-05 17:41:45 +01:00 |
holger krekel
|
9d107523a1
|
py3 fixes
|
2013-02-04 16:07:51 +01:00 |
Ronny Pfannschmidt
|
570688f701
|
ensure OutcomeExceptions like skip/fail have initialized exception attributes
|
2013-01-27 02:06:19 +01:00 |
Benjamin Peterson
|
65edf87ea6
|
display the repr of some global names (fixes #171)
|
2013-01-10 11:59:08 -06:00 |
holger krekel
|
5f99511ab7
|
fix test after ronny's pytest-debug improvements
|
2012-12-04 20:31:37 +01:00 |
holger krekel
|
22dd5e29e2
|
when informations gets truncated, mention use of "-vv" to see it.
|
2012-11-30 12:18:12 +01:00 |
Ronny Pfannschmidt
|
725e63db66
|
improve PYTEST_DEBUG tracing output
by putingextra data on a new lines
with additional indent
|
2012-11-29 10:04:39 +01:00 |
Graham Horler
|
1d7c71884e
|
Remove check for "_" prefix on python functions (use python_functions)
(See IRC hpk 2012-11-27 14:56: after the python_functions customization
was introduced, it makes sense to disregard the preliminary "_" check)
|
2012-11-27 16:58:08 +00:00 |
holger krekel
|
68786a6434
|
fix bug where using capsys with pytest.set_trace() in a test
function would break when looking at capsys.readouterr()
|
2012-11-21 20:43:31 +01:00 |
holger krekel
|
a9adfa9114
|
don't run long-args test on windows because it can't work
|
2012-11-20 11:52:06 +01:00 |
holger krekel
|
f263f54889
|
make yielded tests participate in the autouse protocol
|
2012-11-19 22:17:59 +01:00 |
holger krekel
|
d66ff7e63e
|
fix autouse invocation (off-by-one error), relates to issue in moinmoin test suite
|
2012-11-19 22:17:55 +01:00 |
holger krekel
|
f3e03fc298
|
modernize tmpdir fixture (use request.node in tmpdir fixture, use @pytest.fixture)
|
2012-11-19 14:07:14 +01:00 |
holger krekel
|
b940ed11a0
|
fix issue226 - LIFO ordering for fixture-added teardowns
|
2012-11-16 10:03:51 +01:00 |
holger krekel
|
c64c567b75
|
fix issue224 - invocations with >256 char arguments now work
|
2012-11-12 10:15:43 +01:00 |
holger krekel
|
4ac465acfb
|
allow to pass expressions to "-k" option, just like with the "-m" option
|
2012-11-09 12:29:33 +01:00 |
holger krekel
|
a4909a0ae4
|
allow to dynamically define markers (e.g. during pytest_collection_modifyitems)
|
2012-11-09 12:07:41 +01:00 |
holger krekel
|
33cd414420
|
fix issue127 improve pytest_addoption docs, add new config.getoption(name) method for consistency.
|
2012-11-06 14:09:12 +01:00 |
holger krekel
|
dba2a8bc64
|
fix issue217 - to support @mock.patch with pytest funcarg-fixtures, also split out python integration tests into python/integration.py and fix nose/mark tests
|
2012-11-06 11:04:11 +01:00 |
Ronny Pfannschmidt
|
b3c8991b22
|
add a xfailing test for issue 199
|
2012-11-05 21:52:12 +01:00 |
Ronny Pfannschmidt
|
df444906d6
|
merge pull request
|
2012-11-05 21:18:50 +01:00 |
Ronny Pfannschmidt
|
04754f6748
|
test call_optional not calling non-callable functions
|
2012-11-05 21:17:58 +01:00 |
holger krekel
|
7e831b66ec
|
fix issue148 - recognize @unittest.skip on classes, avoid setup/teardown
|
2012-11-03 20:54:48 +01:00 |
holger krekel
|
ba9b27fcd3
|
fix issue215 - refactor test_python.py into multiple files:
- python/collect.py cotaining the core collection nodes
- python/fixture.py containing funcargs/fixture code
- python/metafunc.py generate_tests and metafunc usage
- python/raises.py the pytest.raises implementation
|
2012-11-02 16:04:57 +01:00 |
holger krekel
|
fb173a97a8
|
extended - fix issue214 - ignore attribute-access errors with objects in test modules that can blow up (for example flask's request object)
|
2012-10-31 17:00:55 +01:00 |
Ronny Pfannschmidt
|
e7e5ee805f
|
fix issue 214 - gracefully handle proxy objects that look like fixtures
|
2012-10-31 17:00:43 +01:00 |
holger krekel
|
fce13c3e46
|
re-allow to parametrize with values that don't support __eq__ (closes issue213)
|
2012-10-28 14:52:43 +01:00 |
holger krekel
|
2637326782
|
improve support for trial a bit more: don't run trial's empty TestCase.runTest() method
|
2012-10-22 19:22:01 +02:00 |
holger krekel
|
aa79c0a4b9
|
fix unittest emulation: TestCase.runTest is now ignored
if there are test* methods.
|
2012-10-22 16:25:09 +02:00 |
holger krekel
|
05c86aeb28
|
make sure ihook uses a node's fspath - important for hooks
e.g. during a Module's collect to pick up conftest.py files
residing in the same dir
|
2012-10-22 16:12:22 +02:00 |
holger krekel
|
f28f073c7c
|
fix teardown-ordering for parametrized setups/teardowns
|
2012-10-22 12:16:54 +02:00 |
holger krekel
|
036557ac18
|
fix issue206 - unset PYTHONDONTWRITEBYTECODE in assertrewrite test
|
2012-10-22 11:14:18 +02:00 |