holger krekel
de7c97aa1e
Merged in tomviner/pytest (pull request #222 )
...
fix issue552: Add a note to the docs about marking single callables
2014-10-14 10:02:21 +02:00
holger krekel
ace668ae8f
Merged in tomviner/pytest/some_spelling_fixes (pull request #224 )
...
A few spelling fixes
2014-10-14 09:59:49 +02:00
TomV
857db415bc
fix some spelling mistakes
...
--HG--
branch : some_spelling_fixes
2014-10-13 23:16:26 +01:00
TomV
4cadc600d5
fix issue552: note about marking single callables
2014-10-12 19:07:03 +01:00
Bruno Oliveira
d62ec2985d
Adding "auto" to help for "--tb" option
2014-10-10 20:43:33 +00:00
Bruno Oliveira
b2341899c5
Adding "auto" to help for "--tb" option
2014-10-10 20:43:33 +00:00
holger krekel
2c84e9ddac
remove unused import
2014-10-09 22:45:33 +02:00
holger krekel
b7dd8eac8e
remove unused import
2014-10-09 22:45:33 +02:00
holger krekel
61d0209093
fix changelog
2014-10-09 17:06:39 +02:00
holger krekel
8b9bb5ff54
fix changelog
2014-10-09 17:06:39 +02:00
holger krekel
cb2c89a070
Merged in HolgerPeters/pytest (pull request #221 )
...
Make doctest flags configurable
2014-10-09 17:05:48 +02:00
holger krekel
cea9367739
Merged in HolgerPeters/pytest (pull request #221 )
...
Make doctest flags configurable
2014-10-09 17:05:48 +02:00
Holger Peters
e1a66d54b9
link fix: Use restructured text :doc: link instead of html link
2014-10-09 16:59:42 +02:00
Holger Peters
a37f9f19d4
link fix: Use restructured text :doc: link instead of html link
2014-10-09 16:59:42 +02:00
holger krekel
91aa6ab0df
add changelog entry for new hookwrapper mechanism
2014-10-09 12:29:57 +02:00
holger krekel
c85c5d05c5
add changelog entry for new hookwrapper mechanism
2014-10-09 12:29:57 +02:00
holger krekel
34df678bc3
some docs and refined semantics for wrappers
2014-10-09 12:21:01 +02:00
holger krekel
8c91ffc701
some docs and refined semantics for wrappers
2014-10-09 12:21:01 +02:00
holger krekel
eda39f361d
re-scan methods during plugin register and unregister and not
...
during hook calling anymore. Simplify register/getplugin api of PluginManager
2014-10-09 10:47:32 +02:00
holger krekel
c58770bfef
re-scan methods during plugin register and unregister and not
...
during hook calling anymore. Simplify register/getplugin api of PluginManager
2014-10-09 10:47:32 +02:00
holger krekel
d9858844c3
improve docstring, remove unused custom Exception
2014-10-09 09:55:46 +02:00
holger krekel
04b8111f8f
improve docstring, remove unused custom Exception
2014-10-09 09:55:46 +02:00
holger krekel
0253f7b8d5
remove all occurences of "__multicall__" on hook impls in pytest/*.
...
also simplify pytest_runtest_markereport hook in _pytest/skipping.py
while touching the code anyway.
2014-10-08 20:23:40 +02:00
holger krekel
5999368002
remove all occurences of "__multicall__" on hook impls in pytest/*.
...
also simplify pytest_runtest_markereport hook in _pytest/skipping.py
while touching the code anyway.
2014-10-08 20:23:40 +02:00
Holger Peters
bf2f2dc2a6
Add a doctest for module docstrings
2014-10-08 15:54:08 +02:00
Holger Peters
787b0212d1
Add a doctest for module docstrings
2014-10-08 15:54:08 +02:00
Holger Peters
1de5af66da
Add documentation for doctest flags and remove dead code
2014-10-08 15:48:41 +02:00
Holger Peters
61caa4f776
Add documentation for doctest flags and remove dead code
2014-10-08 15:48:41 +02:00
Holger Peters
9ca7e46a0a
Add configuration option for doctest flags
2014-10-08 14:31:17 +02:00
Holger Peters
f66e0825b2
Add configuration option for doctest flags
2014-10-08 14:31:17 +02:00
holger krekel
f5f924d293
- refactor wrapped call support to also accomodate
...
pytest.mark.hookwrapper
- introduce a CallOutcome class to hold the result/excinfo status of
calling a function.
- rename add_method_controller to add_method_wrapper
2014-10-08 11:27:14 +02:00
holger krekel
c3d1986101
- refactor wrapped call support to also accomodate
...
pytest.mark.hookwrapper
- introduce a CallOutcome class to hold the result/excinfo status of
calling a function.
- rename add_method_controller to add_method_wrapper
2014-10-08 11:27:14 +02:00
holger krekel
3d6ad054c0
merge pytest default
2014-10-07 18:11:15 +02:00
holger krekel
b6e619413f
merge pytest default
2014-10-07 18:11:15 +02:00
holger krekel
a43fb9cd93
fix add_method_controller to deal properly in the event of exceptions.
...
add a docstring as well.
2014-10-07 16:16:47 +02:00
holger krekel
68f3818562
fix add_method_controller to deal properly in the event of exceptions.
...
add a docstring as well.
2014-10-07 16:16:47 +02:00
holger krekel
b6475b058f
Merged in bubenkoff/pytest/test_for_issue_604 (pull request #220 )
...
Escape % character in the assertion message
2014-10-07 09:06:47 +02:00
holger krekel
e39556ada0
Merged in bubenkoff/pytest/test_for_issue_604 (pull request #220 )
...
Escape % character in the assertion message
2014-10-07 09:06:47 +02:00
Anatoly Bubenkov
966c63d477
merge with default
...
--HG--
branch : test_for_issue_604
2014-10-07 01:06:15 +02:00
Anatoly Bubenkov
a298077461
merge with default
2014-10-07 01:06:15 +02:00
Anatoly Bubenkov
e1aed27c15
Escape % character in the assertion message. closes #604
...
--HG--
branch : test_for_issue_604
2014-10-07 01:01:21 +02:00
Anatoly Bubenkov
a759da0208
Escape % character in the assertion message. closes #604
2014-10-07 01:01:21 +02:00
holger krekel
6ab36592ea
docs for "pytest_addhooks" hook. Thanks Bruno Oliveira.
...
updated plugin index docs. Thanks Bruno Oliveira.
fix issue557: with "-k" we only allow the old style "-" for negation
at the beginning of strings and even that is deprecated. Use "not" instead.
This should allow to pick parametrized tests where "-" appeared in the parameter.
2014-10-06 14:26:03 +02:00
holger krekel
c45b7012f5
docs for "pytest_addhooks" hook. Thanks Bruno Oliveira.
...
updated plugin index docs. Thanks Bruno Oliveira.
fix issue557: with "-k" we only allow the old style "-" for negation
at the beginning of strings and even that is deprecated. Use "not" instead.
This should allow to pick parametrized tests where "-" appeared in the parameter.
2014-10-06 14:26:03 +02:00
holger krekel
1d10db4bab
cleanup core collection of python methods and remove unncessary cache
2014-10-06 14:06:17 +02:00
holger krekel
767e44ef29
cleanup core collection of python methods and remove unncessary cache
2014-10-06 14:06:17 +02:00
Anatoly Bubenkov
4a11edfb68
Merged in issue557 (pull request #218 )
...
fix issue557: with "-k" we only allow the old style "-" for negation
2014-10-06 13:42:53 +02:00
Anatoly Bubenkov
e53bb1af45
Merged in issue557 (pull request #218 )
...
fix issue557: with "-k" we only allow the old style "-" for negation
2014-10-06 13:42:53 +02:00
Anatoly Bubenkov
e5d0862fa5
Close branch issue557
...
--HG--
branch : issue557
2014-10-06 13:42:53 +02:00
Anatoly Bubenkov
2ed4c2135a
Close branch issue557
2014-10-06 13:42:53 +02:00