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
fa9bd8443f
update the documentation regarding the `get_fixture` helper
...
please note that the japanese translation was done using "google translate" and should probably be checked again... :)
--HG--
branch : doctest-fixtures
2013-03-20 17:54:38 +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
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
Ronny Pfannschmidt
64e6c71bf6
merge
2013-01-27 02:10:52 +01:00
Ronny Pfannschmidt
80f590288b
add some bits to ISSUES
2013-01-27 02:10:29 +01:00
Ronny Pfannschmidt
570688f701
ensure OutcomeExceptions like skip/fail have initialized exception attributes
2013-01-27 02:06:19 +01:00
holger krekel
c5f587d6db
don't test on py24 for now because tox/virtualenv-1.8 does not support
...
python2.4
2013-01-26 14:49:33 +01:00
holger krekel
ee713ad036
add Brian Okken's blog post as a tutorial
2013-01-21 09:04:01 +01:00
Floris Bruynooghe
51b40dd22c
Add isolation plugin as a feature
2013-01-16 17:09:17 +00:00
Benjamin Peterson
65edf87ea6
display the repr of some global names ( fixes #171 )
2013-01-10 11:59:08 -06:00
holger krekel
4d4b551079
adapt locations of ML to new @python.org location
2012-12-27 16:48:17 +01:00
holger krekel
e13fedc256
fix pylib links
2012-12-27 16:48:14 +01:00
holger krekel
97f9bc2e46
fix/enhance example
2012-12-20 15:57:07 +01:00
holger krekel
d0bf65e6c8
adding an example on how to do interact with the list of collected tests once before any tests are run
2012-12-16 11:28:17 +01:00
holger krekel
8d25e52e1e
add sentry
2012-12-15 08:09:23 +01:00
Dusty Phillips
6fefab0e3a
pocoo no longer has a pastebin service, so this section title is incorrect.
2012-12-11 12:04:12 -07:00
holger krekel
1e94d900f2
fixed versioning, thanks Arfrever
2012-12-09 09:19:33 +01: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
holger krekel
3d79e7060e
allow to specify prefixes starting with "_" when
...
customizing python_functions test discovery. (thanks Graham Horler)
2012-11-28 09:23:36 +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
Wieland Hoffmann
ffb5b8efa1
Fix a broken link to pytest-twisted
2012-11-22 19:59:15 +01: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
b97de57ebe
improve docstring for metafunc.parametrize()
2012-11-21 10:13:44 +01:00
holger krekel
03445913e0
reanme README.txt to README.rst
2012-11-20 14:37:39 +01:00
holger krekel
8580058ffb
move long description into README
2012-11-20 14:24:26 +01:00
holger krekel
1c9ef2443f
bump version, fix -k option help
2012-11-20 14:20:39 +01:00
holger krekel
cac1a48fc7
Added tag 2.3.4 for changeset ef299e57f242
2012-11-20 14:09:40 +01:00
holger krekel
b5955c5979
fix version number, final fixes
2012-11-20 14:01:31 +01:00
holger krekel
765b053984
bump version, add announcement, regen docs
2012-11-20 13:42:00 +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
7f403950ad
adapt changelog entry about autouse fixtures and yield
2012-11-19 22:20:37 +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
2ef350aede
getting rid of redundant "active" attribute
2012-11-19 12:42:10 +01:00
holger krekel
b940ed11a0
fix issue226 - LIFO ordering for fixture-added teardowns
2012-11-16 10:03:51 +01:00
holger krekel
e15da7cbef
add a note about yield tests at least in the CHANGELOG
2012-11-14 10:02:47 +01:00
holger krekel
5b64b0130d
fix typo (thanks Thomas Waldmann)
2012-11-14 09:40:01 +01:00
holger krekel
af89a9667f
add example for accessing test result information from fixture
2012-11-14 09:39:21 +01:00
holger krekel
c64c567b75
fix issue224 - invocations with >256 char arguments now work
2012-11-12 10:15:43 +01:00
ENDOH takanao
d31f4dcba8
Fix typos in a document
2012-11-10 16:29:43 +09:00
holger krekel
d9ce7f143e
switch to pushing docs to dev, amend markers example which needs the dev candidate
2012-11-09 12:40:48 +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