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

No output if I run pytest with collect-only flag ("--co") #708

Open
jeffwright13 opened this issue Aug 8, 2023 · 1 comment
Open

No output if I run pytest with collect-only flag ("--co") #708

jeffwright13 opened this issue Aug 8, 2023 · 1 comment

Comments

@jeffwright13
Copy link
Collaborator

I use the --co option in Pytest a lot to make sure new tests I write get picked up by our automation test framework. Unfortunately, pytest-html doesn't show me any information in the report (this is from rc5):

Screenshot 2023-08-08 at 11 03 02 AM

It would be nice to have that output available, something like this:

Screenshot 2023-08-08 at 11 05 45 AM
@BeyondEvil
Copy link
Contributor

What result more precise are you looking for?

The plugin is entirely in the hands of the pytest hooks, so we won't be able to show any information not available through them.

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

2 participants