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 |
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
|
5a3547dd7e
|
also provide `get_fixture` helper for module level doctests
--HG--
branch : doctest-fixtures
|
2013-03-20 17:32:48 +01:00 |
Andreas Zeidler
|
f747d363b0
|
don't expose the `FixtureRequest` object itself in doctests. in most cases `get_fixture` is sufficient, and you can always call `get_fixture('request')` anyway
--HG--
branch : doctest-fixtures
|
2013-03-20 16:36:48 +01:00 |
Andreas Zeidler
|
25547e3afb
|
pass fixture request object (and convenience shortcut to get fixtures) into doctest files
--HG--
branch : doctest-fixtures
|
2013-01-30 17:32:37 +01:00 |
holger krekel
|
410438f187
|
fix issue43 - better tracebacks for unexpected exceptions in doctests
|
2011-05-28 14:38:15 +02:00 |
holger krekel
|
fc4f72cb1f
|
fix issue7 - assert failure inside doctest doesn't prettyprint
unexpected exceptions are now reported within the doctest failure
representation context.
|
2010-12-06 19:00:30 +01:00 |
holger krekel
|
eaf68c1ffd
|
better deal with importing conftest.py with --doctest-modules and
re-enable default of "--doctest-modules" even if issued at root level
|
2010-11-18 15:31:58 +01:00 |
holger krekel
|
582486d531
|
refine docs and docstrings, fix some small bits here and there while doing that.
|
2010-11-18 14:56:16 +01:00 |
holger krekel
|
2a825169b2
|
fix doctest IDs, also fix tree traversal and remove dead code
|
2010-11-17 18:24:28 +01:00 |
holger krekel
|
acd286f82f
|
run doctests in .txt/.rst files directly specified on command line irrespective of "test*.txt" pattern.
|
2010-11-17 14:33:21 +01:00 |
holger krekel
|
929291775e
|
flat is better than nested (cont'd):
- pytest.py is new module, making "python -m pytest" work always
- _pytest/*.py now contains core.py, hookspec and the plugins, no sub packages
|
2010-11-13 11:10:45 +01:00 |