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

number of selected tests is not reported on collection #181

Open
ssbarnea opened this issue Aug 27, 2019 · 0 comments
Open

number of selected tests is not reported on collection #181

ssbarnea opened this issue Aug 27, 2019 · 0 comments

Comments

@ssbarnea
Copy link

While sugar nicely displays how many tests where deselected it does not mention how many tests where selected. This is key information that is missing because based on the params given to pytest or other factors (like environment variables), the number of tests may be very different.

Example:

pytest --collect-only
...
Results (2.37s):
     132 deselected

While user may see a very long list of collected tests, he has no clue how many were collected making very easy to make mistakes.

I would propose adding another line with number of selected or altering the same line and making it look like 132 deselected and 500 selected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants