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

Add option to display reason for skipped sessions in the summary #940

Open
chirizxc opened this issue Mar 11, 2025 · 2 comments · May be fixed by #941
Open

Add option to display reason for skipped sessions in the summary #940

chirizxc opened this issue Mar 11, 2025 · 2 comments · May be fixed by #941

Comments

@chirizxc
Copy link
Contributor

How would this feature be useful?

In large projects, there can be multiple reasons why tests are skipped. For example, some tests might be skipped on Python 3.13 due to compatibility issues, while others could be skipped due to missing dependencies, platform-specific constraints, etc

Without a clear summary, developers often need to scroll through long test logs to find out why certain tests were skipped.

By adding a flag to display skip reasons in the final summary, developers can quickly understand why tests were skipped without digging through nox output.

Describe the solution you'd like

nox > Ran multiple sessions:
nox > * fail: failed
nox > * skip_3_13: skipped (Skip tests on python 3.13 due to compatibility issues)

Describe alternatives you've considered

No response

Anything else?

No response

@chirizxc
Copy link
Contributor Author

I'm not sure about flag, but I think something like: --show-skip-reason-summary , --skip-summary-details

@chirizxc chirizxc linked a pull request Mar 11, 2025 that will close this issue
@chirizxc
Copy link
Contributor Author

@DiddiLeija what do you think?

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

Successfully merging a pull request may close this issue.

1 participant