Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to pass arguments to pytest via runner-options argument #163

Merged
merged 2 commits into from
May 16, 2020

Conversation

yakky
Copy link
Member

@yakky yakky commented May 16, 2020

Description

Pass arguments to pytest when using pytest runner via existing runner-options argument is more flexible than using var environments

References

Fix #159

Checklist

  • I have read the contribution guide
  • Code lint checked via inv lint
  • changes file included (see docs)
  • Usage documentation added in case of new features
  • Tests added

@codecov
Copy link

codecov bot commented May 16, 2020

Codecov Report

Merging #163 into develop will increase coverage by 0.34%.
The diff coverage is 100.00%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop     #163      +/-   ##
===========================================
+ Coverage    91.34%   91.69%   +0.34%     
===========================================
  Files            6        6              
  Lines          693      698       +5     
  Branches       114      115       +1     
===========================================
+ Hits           633      640       +7     
+ Misses          21       20       -1     
+ Partials        39       38       -1     
Flag Coverage Δ
#unittests 91.69% <100.00%> (+0.34%) ⬆️
Impacted Files Coverage Δ
app_helper/main.py 88.37% <100.00%> (+1.31%) ⬆️
app_helper/pytest_runner.py 100.00% <100.00%> (ø)

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 999318e...e4fccaa. Read the comment docs.

@yakky yakky force-pushed the feature/issue-159-pytest-args branch from 26caf5b to cfd34bd Compare May 16, 2020 00:34
@yakky yakky force-pushed the feature/issue-159-pytest-args branch from cfd34bd to 082edb8 Compare May 16, 2020 00:41
@yakky yakky merged commit 5151ce4 into develop May 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Pass arguments to pytest via cmdline arguments
1 participant