Floris Bruynooghe
944da5b98a
Avoid rewrite warning for inline runs
...
When running pytest inline/inprocess we plugins have already been
imported and re-writen, so avoid the warning.
2016-07-13 17:29:19 +01:00
Floris Bruynooghe
a98e3cefc5
Enable re-writing of setuptools-installed plugins
...
Hook up the PEP 302 import hook very early in pytest startup so
that it gets installed before setuptools-installed plugins are
imported. Also iterate over all installed plugins and mark them
for rewriting. If an installed plugin is already imported then
a warning is issued, we can not break since that might break
existing plugins and the fallback will still be gracefull to
plain asserts.
Some existing tests are failing in this commit because of the new
warning triggered by inline pytest runs due to the hypothesis
plugin already being imported. The tests will be fixed in the next
commit.
2016-07-13 17:29:19 +01:00
Bruno Oliveira
dd5ce96cd7
Merge pull request #1718 from blueyed/fix-funcarg_prefix_warning
...
Add punctuation to funcarg_prefix_warning
2016-07-13 12:53:54 -03:00
Florian Bruhin
aeccd6b4a2
Merge pull request #1720 from nicoddemus/changelog-formatting
...
Improve overall CHANGELOG formatting and consistency for 3.0
2016-07-13 15:58:38 +02:00
Bruno Oliveira
44c3055e79
Merge pull request #1721 from bronsen/patch-1
...
Docs: De-404 links in changelog
2016-07-13 10:05:14 -03:00
Bruno Oliveira
4a763accc5
Improve overall CHANGELOG formatting and consistency for 3.0
2016-07-13 08:52:36 -03:00
Kalle Bronsen
dfe1209d2c
De-404 links in changelog
2016-07-13 11:41:27 +02:00
Florian Bruhin
54ea27c283
Merge pull request #1719 from nicoddemus/fix-2.10-versions-in-docs
...
Fix 2.10 -> 3.0 versions in docs
2016-07-13 08:10:13 +02:00
Bruno Oliveira
f827810fa8
Fix 2.10 -> 3.0 versions in docs
2016-07-12 21:02:40 -03:00
Daniel Hahler
15e97a7c78
Add punctuation to funcarg_prefix_warning
2016-07-12 23:49:09 +02:00
Ronny Pfannschmidt
c4f20a1834
Merge pull request #1712 from anntzer/custom-debugger
...
Allow passing a custom Pdb subclass via --pdbcls.
2016-07-12 16:45:07 +02:00
Ronny Pfannschmidt
4c56c95eb8
Merge pull request #1714 from nicoddemus/deprecate-yield-tests-funcarg-prefix
...
Deprecate yield tests funcarg prefix
2016-07-12 11:43:59 +02:00
Antony Lee
7ee3dd1cb5
Add tests for custom pdb class.
...
(and edit CHANGELOG)
2016-07-11 20:07:29 -07:00
Bruno Oliveira
458ecae1df
Replace all usages of "pytest_funcarg__" for @pytest.fixture
2016-07-11 22:21:52 -03:00
Bruno Oliveira
ad4125dc0d
Deprecate "pytest_funcarg__" prefix to declare fixtures
...
Fixes #1684
2016-07-11 22:21:50 -03:00
Bruno Oliveira
5506dc700c
Deprecate yield tests
...
Closes #16
Closes #1324
2016-07-11 22:21:49 -03:00
Bruno Oliveira
0dd1c8bf14
Add test to ensure capsys and capfd error out when using "getfixturevalue" inside a test
2016-07-11 20:48:38 -03:00
Bruno Oliveira
0ca06962e9
Improve docs
2016-07-11 20:33:16 -03:00
Bruno Oliveira
2ffe354f21
Add CHANGELOG for invocation-scoped fixtures
2016-07-11 20:32:59 -03:00
Bruno Oliveira
fb4da00a32
Merge remote-tracking branch 'upstream/features' into invocation-scoped-fixtures
2016-07-11 20:09:13 -03:00
Bruno Oliveira
6f68dfcc47
Merge pull request #1710 from RonnyPfannschmidt/fixture-split
...
Fixture split 2nd attempt
2016-07-10 12:10:07 -03:00
Antony Lee
6383b53ad9
Allow passing a custom Pdb subclass via --pdbcls.
...
This obviates the need for plugins such as `pytest-ipdb`; instead one
can simply call `py.test --pdb=IPython.core.debugger:Pdb`
2016-07-09 21:10:52 -07:00
Bruno Oliveira
8ed055efd8
Add acceptance test for invocation-scoped fixtures
2016-07-09 22:52:07 -03:00
Bruno Oliveira
775100881a
Implement invocation-scoped fixtures
2016-07-09 22:52:05 -03:00
Bruno Oliveira
29289b472f
Add documentation for "invocation" scoped fixture
2016-07-09 16:51:25 -03:00
Ronny Pfannschmidt
8c49561470
split most fixture related code into own plugin
2016-07-09 20:36:00 +02:00
Florian Bruhin
7a2058e3db
Merge pull request #1709 from The-Compiler/changelog
...
Clean up changelog
2016-07-08 18:52:28 +02:00
Florian Bruhin
668ebb102c
Clean up changelog
...
- Merged 3.0 and 2.10 as much stuff from the sprint went to the 2.10
section.
- Cleaned up mixture of link/text blocks
- Moved some entries to "Bug Fixes" and "Incompatible changes"
- Stop doing "Fixes (#123 ) ..." because it looks weird
- Add some new empty points for all sections
2016-07-08 18:51:26 +02:00
Bruno Oliveira
293351cfd0
Merge pull request #1705 from RonnyPfannschmidt/merge-master
...
Merge from master to features
2016-07-08 08:15:54 -03:00
Ronny Pfannschmidt
dad6aa8a16
fix duplicate target in changelog
2016-07-06 13:51:13 +02:00
Ronny Pfannschmidt
b9a91dc112
merge from master to features
2016-07-06 11:51:48 +02:00
Bruno Oliveira
f31c31a73c
Merge pull request #1695 from sallner/feature-setup-show
...
Feature setup show
2016-07-05 21:29:01 -03:00
aostr
94e4a2dd67
* implemented changes recommended by nicoddemus
2016-07-05 15:22:27 +02:00
Javier Domingo Cansino
0171cfa30f
Fixing link to issue and creating testcase that shows that it finds the line in the stderr lines
2016-07-05 10:39:12 +01:00
Javier Domingo Cansino
61e605f60b
Making conftest import failures easier to debug
2016-07-05 10:04:42 +01:00
Ronny Pfannschmidt
cc0920ceb1
Merge pull request #1699 from nicoddemus/404-links-on-talks-docs
...
Fix links and removed 404 links from talks.rst
2016-07-05 08:44:23 +02:00
Florian Bruhin
067e044f97
Merge pull request #1700 from nicoddemus/split-appveyor
...
Split AppVeyor test runs in multiple jobs to avoid timeout issues
2016-07-05 06:43:39 +02:00
Bruno Oliveira
10c5e6fd9c
Split AppVeyor test runs in multiple jobs to avoid timeout issues
...
Some of our builds have been timing out (over 1 hour),
on AppVeyor
2016-07-04 21:54:21 -03:00
Bruno Oliveira
8d39ce17da
Fix links and removed 404 links from talks.rst
...
Fix #1696
2016-07-04 21:32:57 -03:00
Steffen Allner
6438895a23
Fix PEP-8.
2016-07-03 22:33:21 +02:00
Steffen Allner
b650c3c118
Implement --setup-show cli flag
...
to also be able to see fixture setup with normal test execution.
2016-07-03 22:30:51 +02:00
Steffen Allner
f7b5bb2f97
Merged branch features into features
2016-07-03 21:07:02 +02:00
Bruno Oliveira
f74dd8550f
Merge pull request #1692 from pytest-dev/changelog
...
Add changelog to requirements for pytest-dev plugins
2016-06-30 17:39:14 -03:00
Florian Bruhin
e3c43a1462
Add changelog to requirements for pytest-dev plugins
...
Closes #1691
2016-06-30 22:25:09 +02:00
Florian Bruhin
7927dff8a1
Merge pull request #1678 from RonnyPfannschmidt/drop-python30-32
...
drop python 3.0-3.2 support code from setup.py
2016-06-30 11:15:49 +02:00
Ronny Pfannschmidt
1451a1ab00
remove unsupported python versions from code/source xfail
2016-06-30 10:03:40 +02:00
Bruno Oliveira
75ecd94294
Merge pull request #1689 from quodlibetor/autouse-docs
...
Document the interaction of autouse scopes
2016-06-29 18:08:06 -03:00
Brandon W Maister
771c4539fa
Document the interaction of autouse scopes
...
I wouldn't have even attempted what I did to cause #1688 if this had
been there.
2016-06-29 16:52:13 -04:00
Ronny Pfannschmidt
2a43237527
docs: no longer include python 3.0-3.2 in the index page
2016-06-27 18:20:56 +02:00
Ronny Pfannschmidt
7dc8d1ab60
fix typo and remove python3.2 from readme
2016-06-27 18:19:00 +02:00