Skip to content

setup.py: add "testing" extra requirement#4415

Merged
RonnyPfannschmidt merged 1 commit into
pytest-dev:masterfrom
blueyed:extras-testing
Nov 18, 2018
Merged

setup.py: add "testing" extra requirement#4415
RonnyPfannschmidt merged 1 commit into
pytest-dev:masterfrom
blueyed:extras-testing

Conversation

@blueyed

@blueyed blueyed commented Nov 18, 2018

Copy link
Copy Markdown
Contributor

Use this in tox to stream-line base testing requirements.

Closes #4410.

@codecov

codecov Bot commented Nov 18, 2018

Copy link
Copy Markdown

Codecov Report

Merging #4415 into master will increase coverage by <.01%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #4415      +/-   ##
==========================================
+ Coverage   95.89%   95.89%   +<.01%     
==========================================
  Files         111      111              
  Lines       25006    25006              
  Branches     2438     2438              
==========================================
+ Hits        23979    23980       +1     
+ Misses        726      724       -2     
- Partials      301      302       +1
Flag Coverage Δ
#docs 30.19% <ø> (+0.37%) ⬆️
#doctesting 30.19% <ø> (+0.37%) ⬆️
#linting 30.19% <ø> (+0.37%) ⬆️
#linux 95.72% <ø> (ø) ⬆️
#nobyte 92.64% <ø> (+0.3%) ⬆️
#numpy 93.44% <ø> (+0.3%) ⬆️
#pexpect 41.89% <ø> (+0.19%) ⬆️
#py27 94.02% <ø> (ø) ⬆️
#py34 92.16% <ø> (+0.06%) ⬆️
#py35 92.18% <ø> (+0.06%) ⬆️
#py36 92.2% <ø> (+0.06%) ⬆️
#py37 94.1% <ø> (ø) ⬆️
#trial 93.44% <ø> (+0.3%) ⬆️
#windows 94.1% <ø> (-0.02%) ⬇️
#xdist 93.94% <ø> (ø) ⬆️
Impacted Files Coverage Δ
src/_pytest/helpconfig.py 97.24% <0%> (-1.84%) ⬇️
testing/test_terminal.py 99.8% <0%> (-0.2%) ⬇️
src/_pytest/terminal.py 92.85% <0%> (+0.68%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 10cdae8...e46f995. Read the comment docs.

Comment thread setup.py
"testing": [
"hypothesis>=3.56",
"nose",
"requests",

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

probably mock;python_version=="2.7" also?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added, thanks.

Use this in tox to stream-line base testing requirements.

Closes pytest-dev#4410.
@RonnyPfannschmidt RonnyPfannschmidt merged commit 5c24430 into pytest-dev:master Nov 18, 2018
@RonnyPfannschmidt

Copy link
Copy Markdown
Member

great 👍

@blueyed blueyed deleted the extras-testing branch November 18, 2018 11:52
Comment thread tox.ini
extras = testing
deps =
pytest-xdist>=1.13
{py27,pypy}: mock

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oops, missed one

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment thread tox.ini
deps =
pytest-xdist>=1.13
hypothesis>=3.56
py27: mock

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and two

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants