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

Set run arguments in .coveragerc #134

Closed
nedbat opened this issue Jun 10, 2011 · 2 comments
Closed

Set run arguments in .coveragerc #134

nedbat opened this issue Jun 10, 2011 · 2 comments
Labels
enhancement New feature or request run

Comments

@nedbat
Copy link
Owner

nedbat commented Jun 10, 2011

<donri> nedbat: i'm the author of a test automation framework and it'd be nice to support coverage without doing anything special and still have usage be simple; thus i thought .coveragerc configured runner was a good idea
<donri> "add these two lines to .coveragerc and you can measure coverage with coverage run"
<nedbat> donri: i can see the appeal, and I don't think it would be tricky to do.  It'd just never occurred to me someone would want it.
<nedbat> donri:  it would also be useful for projects where you need to provide specific args when doing tests, or when doing coverage tests.
<donri> yep
<donri> in my own project i solved it with a paver task, which also does report and html in one go, so i'm satisfied on a personal level
<donri> still would be nice if it integrated elegantly with my test tool

(donri == Dag Odenhall)


@nedbat
Copy link
Owner Author

nedbat commented Jun 10, 2011

Original comment by Dag Odenhall (Bitbucket: dag, GitHub: dag)


I should add that in my particular case it is primarily the -m switch which is interesting. For reference there's a related ticket in my project: dag/attest#77

@nedbat
Copy link
Owner Author

nedbat commented Oct 5, 2015

Putting run arguments in the .coveragerc doesn't feel right to me.

@nedbat nedbat closed this as completed Oct 5, 2015
@nedbat nedbat added major enhancement New feature or request run labels Jun 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request run
Projects
None yet
Development

No branches or pull requests

1 participant