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

Simplify using coverage plugin ipytest.cov #112

Closed
chmp opened this issue Apr 17, 2024 · 2 comments
Closed

Simplify using coverage plugin ipytest.cov #112

chmp opened this issue Apr 17, 2024 · 2 comments

Comments

@chmp
Copy link
Owner

chmp commented Apr 17, 2024

See comment here:

The %%file cell magic can be used to create files like .coveragerc from a notebook.

%%file .coveragerc
[run]
plugins =
    ipytest.cov

Would an ipytest.generate_coveragerc() or similar be too much? or Just autoconfig(coverage=True) or something?

Comment: something like autoconfig(coverage=True) would be really cool. I would prefer to inject the plugin programitcally, though.

@chmp
Copy link
Owner Author

chmp commented Apr 17, 2024

Started work on a first draft here: #114

@chmp chmp closed this as completed Apr 21, 2024
@chmp
Copy link
Owner Author

chmp commented Apr 21, 2024

Implemented in #114

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

No branches or pull requests

1 participant