Ronny Pfannschmidt
604a021a2a
Merge pull request #1196 from nicoddemus/deprecated-call-1190
...
Make deprecated_call() use monkey-patching again , fixes #1190
2015-11-27 22:09:09 +01:00
Bruno Oliveira
603d81ef2f
deprecated_call now uses monkey patching strategy to capture warnings
...
similar to what we had in 2.7, with a few enhancements
Fix #1190
2015-11-26 16:48:58 -02:00
Bruno Oliveira
6378cdf7a9
Restored 2.7 implentation of deprecated_call
2015-11-26 15:54:57 -02:00
Bruno Oliveira
320c95ca43
Fix formatting in HOWTORELEASE.rst
2015-11-24 12:05:41 -02:00
Bruno Oliveira
b20803f0a6
Mention pytest_enter_pdb in the docs
2015-11-23 18:00:02 -02:00
Ronny Pfannschmidt
af46ffe021
bump to 2.8.4.dev
2015-11-19 22:01:34 +01:00
Ronny Pfannschmidt
e4a000bb00
refer more explicit to osx el cap in the changelogs
2015-11-18 17:57:41 +01:00
Ronny Pfannschmidt
d04505553e
update authors list for 2.8.3 and add a log command to the howto
2015-11-18 17:55:18 +01:00
Ronny Pfannschmidt
2b5c46b2ab
correct drop in version in announcement
2015-11-18 17:48:35 +01:00
Ronny Pfannschmidt
063f90f0d2
run regendoc
2015-11-18 17:47:17 +01:00
Ronny Pfannschmidt
6096cae3dd
release announcements for 2.8.3
2015-11-18 17:38:31 +01:00
Ronny Pfannschmidt
3dc57d99f2
Changelog groming and release preps for 2.8.3
2015-11-18 17:34:30 +01:00
Florian Bruhin
3cc5a4ecb0
Merge pull request #1175 from gabehollombe/add-pyconsg2015-talk
...
Add 'Improve your testing with Pytest and Mock' video from PyCon SG 2015
2015-11-11 06:16:46 +01:00
Gabe Hollombe
ac0b7b9803
Add 'Improve your testing with Pytest and Mock' video from PyCon SG 2015
2015-11-11 11:28:59 +08:00
Bruno Oliveira
a1d226b751
Merge pull request #1168 from hackebrot/write-docs-on-ignore-cli-option
...
Write docs on ignore cli option
2015-11-07 12:38:21 -02:00
Raphael Pierzina
d667259e31
Change pytest ignore invocation as suggested by @nicoddemus
2015-11-04 23:45:29 +01:00
Bruno Oliveira
98668c943d
Merge pull request #1171 from nicoddemus/fix-1169
...
Allow @unittest.skip decorators in Python 2.7
2015-11-04 20:27:00 -02:00
Bruno Oliveira
a7a470b56f
Give credit where it is due
2015-11-04 19:55:05 -02:00
Bruno Oliveira
7d6edb9ca5
Fix unittest.skip decorator test and separate the fix into a different, self-doc function
2015-11-04 19:54:18 -02:00
Lee Kamentsky
313050b15b
Suggested edits by Bruno.
...
Moved fix to TestCaseFunction.setup. Added myself to AUTHORS and added entry to CHANGELOG
2015-11-04 15:30:16 -05:00
Lee Kamentsky
1833547936
Added test for issue #1169
...
(I undid my fix, checked for failure, redid my fix and it passes)
2015-11-04 14:24:22 -05:00
LeeKamentsky
8de2c035e2
Fixes #1169
...
The unittest.skip decorator runs @functools.wraps on self._testcase. functools.wraps expects a "__name__" attribute and this patch adds one. It might not be the correct fix, but it works for me.
2015-11-04 13:52:40 -05:00
Raphael Pierzina
a2d07bfa93
Add pytest invocation along with result
2015-11-04 15:34:18 +01:00
Raphael Pierzina
586fdbcbbd
Add example tests directory structure
2015-11-04 15:00:37 +01:00
Raphael Pierzina
04079f9ae5
Start doc section on ``--ignore`` in pytestcollection.rst
2015-11-04 14:49:02 +01:00
Bruno Oliveira
af2d391903
Merge pull request #1166 from Toilal/pytest-runner
...
Use pytest-runner for setuptools integration
2015-11-02 12:50:21 -02:00
Toilal
8abf85e96c
Use pytest-runner for setuptools integration
2015-11-02 12:22:40 +01:00
Ronny Pfannschmidt
9013cb1b4c
Merge pull request #1144 from The-Compiler/elcapitan-sip
...
Handle EPERM when writing rewritten bytecode.
2015-11-01 08:20:00 +01:00
Florian Bruhin
2eb345f9b7
Merge pull request #1159 from zoidbergwill/patch-1
...
Fix typo in parametrize.rst
2015-10-30 09:02:29 +01:00
William Martin Stewart
1376d75fbe
Fix typo in parametrize.rst
2015-10-30 09:58:41 +02:00
Bruno Oliveira
4fe7cca44e
Merge pull request #1157 from gabrielcnr/master
...
Color highlight on the name of the failed tests
2015-10-28 17:36:47 -02:00
gabriel.reis
a83d5c0f08
Updated entries on CHANGELOG and AUTHORS. Ref: #1157
2015-10-28 19:35:04 +00:00
Gabriel Reis
f3f61fb5d1
Color highlight on the name of the failed tests
2015-10-28 08:12:57 +00:00
Bruno Oliveira
8e54d07c40
Fix link in FAQ about parametrizing tests
...
Fix #1154
2015-10-26 22:46:35 -02:00
Florian Bruhin
bd36e00174
Merge pull request #1153 from b-jazz/patch-2
...
Update usage.rst
2015-10-24 15:41:24 +02:00
Ronny Pfannschmidt
da6b1557f0
Merge pull request #1152 from b-jazz/patch-1
...
Update CONTRIBUTING.rst
2015-10-24 12:00:33 +02:00
b-jazz
f174026f53
Update usage.rst
...
Remove double "the" in usage comments
2015-10-24 02:36:02 -07:00
b-jazz
390e1c93ed
Update CONTRIBUTING.rst
...
Clean up the grammar of one of the lines.
2015-10-24 02:21:22 -07:00
Bruno Oliveira
8f31a1a64b
Merge pull request #1147 from jayvdb/remove-extrainit
...
Remove commented out extrainit
2015-10-20 10:25:54 -02:00
John Vandenberg
9a04879129
Remove commented out extrainit
...
Unused since 2012, and the docstring syntax is incorrect with
four quotes.
2015-10-20 21:08:21 +11:00
Bruno Oliveira
7469b5591e
Update plugins_index.rst
2015-10-17 13:37:38 -03:00
Bruno Oliveira
75932a92d0
Make pytest-version mandatory
...
Fix #1118
2015-10-17 13:37:01 -03:00
Bruno Oliveira
cf56f59f58
Merge pull request #1145 from htgoebel/patch-1
...
Add link to unittest2pytest
2015-10-17 13:16:55 -03:00
Hartmut Goebel
4fba20e544
Add link to unittest2pytest
...
Closes #991 .
2015-10-17 18:14:52 +02:00
Florian Bruhin
2956627b8b
Handle EPERM when writing rewritten bytecode.
...
Fixes #1143 .
2015-10-17 11:55:55 +02:00
Ronny Pfannschmidt
3404d2a99b
Merge pull request #1142 from nicoddemus/issue-1133-str-relto
...
Fix situation where a traceback entry "path" returns a str object
2015-10-17 08:58:48 +02:00
Bruno Oliveira
311b0a9683
Fix situation where a traceback entry "path" returns a str object
...
Fix #1133
2015-10-16 20:18:14 -03:00
Ronny Pfannschmidt
3b11995dbe
Merge pull request #1053 from mbirtwell/issue_331_failure_for_test_with_no_name
...
Prevent non-function callables from being collected
2015-10-13 23:35:32 +02:00
Michael Birtwell
a3bda59a30
collection: Prevent non-function callables from being collected
...
Fixes issue 331
previously to this change the collection code would issue a warning for
when ever it encountered a variable that looked like a test but wasn't a
function saying that it wouldn't collect it because it wasn't a function.
This fixes the logic so that if that warning is issued it really isn't
collected.
However previously special cases existed to support tests that were
created using functools.wraps and functools.partial. So the condition for
issuing that warning has been updated to take that in to account
Also try the old way of detecting functions just for proper integration
with mock.path in python 2.7 the get_real_func returned the unbound method
2015-10-12 22:23:18 +01:00
Bruno Oliveira
0c21533cc5
Merge pull request #1130 from The-Compiler/pytest_doc_fix
...
Use a string for pytest_plugins in docs.
2015-10-12 10:58:39 -03:00