-
-
Notifications
You must be signed in to change notification settings - Fork 6
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
Unable to override report:skip_covered #16
Comments
for booleans in coverage there isn't a way to know the difference between "the default is present as false" or "the user set the value to false" could you elaborate on why you want you'll want to consult / follow these (which will provide a potentially better solution): |
Hi Anthony, thanks for the quick reply. I understand the rationale much better now why it is not possible to override this flag, thanks.
I see, that will help. Thanks! Just for the sake of completeness: Am I right to assume this option is only available for HTML/XML reports? I just tried to apply it to regular terminal output out of curiosity and it does not seem to be available there. $ pytest --cov --no-skip-covered tests -vvv
ERROR: usage: pytest [options] [file_or_dir] [file_or_dir] [...]
pytest: error: unrecognized arguments: --no-skip-covered
inifile: None $ pytest --cov --cov-report=term:no-skip-covered tests -vvv
ERROR: usage: pytest [options] [file_or_dir] [file_or_dir] [...]
pytest: error: argument --cov-report: output specifier not supported for: "term:no-skip-covered" (choose from "['annotate', 'html', 'xml']") With kind regards, |
|
I've just tried to give this a spin and it works great. Thank you so much for your help.
P.S.: However, I've discovered a different problem with that but will open another issue in order not to pollute this one. |
instead of |
That also works. Much better. Great!
|
That was completely our fault, sorry - nothing to report here. I wish you happy new year and want to thank you again for your excellent support. |
Dear Anthony,
thanks a stack for conceiving and maintaining this excellent package.
Through wireviz/wireviz-web@042f04d0, we just added it to wireviz-web and it works like a breeze. As we are using Poetry for package metadata, we store everything relevant within a
pyproject.toml
file. Now, we found that within this sectionoverriding
fail_under
works, but overridingskip_covered
apparently does not.Maybe you can do anything about it?
With kind regards,
Andreas.
The text was updated successfully, but these errors were encountered: