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

Missing test run overview #587

Closed
GergelyKalmar opened this issue Aug 21, 2020 · 4 comments
Closed

Missing test run overview #587

GergelyKalmar opened this issue Aug 21, 2020 · 4 comments

Comments

@GergelyKalmar
Copy link

When I'm using pytest without pytest-xdist I can see a nice overview of what has been collected / tested per file:

image

Not with xdist though:

image

Is it possible to have the same overview of skips / fails / etc. on a per-file basis with xdist? I understand that due to the parallelization we can't really have the same overview going on in real time but I think displaying the results the same way would be still very useful.

@nicoddemus
Copy link
Member

Hi @GergelyKalmar,

You can use -v, which is a bit more verbose but will show each test as it runs.

@GergelyKalmar
Copy link
Author

hi @nicoddemus! Yes, I'm aware of -v but that is waaay too verbose for larger test suites. Something in between almost nothing and hundreds of lines would be nice I think, just like pytest has it.

@nicoddemus
Copy link
Member

Hmm I see, I'm afraid there's no other option then. Due to the nature of how distributed tests work, it is no possible to have an output similar to pytest's without xdist.

I'm closing this for now, but feel free to follow up with further questions! 👍

@GergelyKalmar
Copy link
Author

I do see that, however, I think that a summary similar to that of pytest could be surely displayed after all runs were executed. This issue is kind of like #555, except that in this case we are concerned with the part between the collection and error/session output.

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