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
Florian Bruhin
dadf03baea
Use a string for pytest_plugins in docs.
2015-10-12 06:57:43 +02:00
Ronny Pfannschmidt
1525cc78f6
Merge pull request #1127 from michael-k/indentation
...
[doc] Fixed indentation
2015-10-10 14:22:18 +02:00
Ronny Pfannschmidt
db077555f6
Merge pull request #1102 from nicoddemus/doctest-fixtures-fix
...
Fix autouse fixtures and doctest modules
2015-10-10 14:21:53 +02:00
Michael K
37e96c9335
[doc] Fixed indentation
2015-10-10 13:29:22 +02:00
Bruno Oliveira
b052becba9
Merge pull request #1121 from tomviner/issue1035-getattr
...
Issue1035 getattr
2015-10-09 16:45:52 -03:00
TomV
88c8dd96f9
issue1035 Override inspect.isclass for python 2.6
2015-10-09 19:44:47 +01:00
Bruno Oliveira
cee828130c
Merge pull request #1124 from bukzor/unit-test-config-fromdictargs
...
tests of (and fixes for) Config.fromdictargs (2)
2015-10-09 15:10:40 -03:00
Buck Golemon
67236d6de3
strengthen the ini assertion
2015-10-09 09:58:12 -07:00
Buck Golemon
470e4f9e91
changelog entry
2015-10-09 09:58:12 -07:00