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

XPass is not documented on site #1997

Closed
1 of 4 tasks
AutomatedTester opened this issue Oct 11, 2016 · 4 comments
Closed
1 of 4 tasks

XPass is not documented on site #1997

AutomatedTester opened this issue Oct 11, 2016 · 4 comments
Labels
status: help wanted developers would like help from experts on this topic type: docs documentation improvement, missing or needing clarification

Comments

@AutomatedTester
Copy link

When looking to setup XPasses in a test suite. When looking how to do this could only find skipping/xfail and the TOC doesnt have it.

Here's a quick checklist in what to include:

  • Include a detailed description of the bug or suggestion
  • pip list of the virtual environment you are using
  • pytest and operating system versions
  • Minimal example if possible
@RonnyPfannschmidt RonnyPfannschmidt added type: enhancement new feature or API change, should be merged into features branch status: help wanted developers would like help from experts on this topic type: docs documentation improvement, missing or needing clarification labels Oct 11, 2016
@The-Compiler
Copy link
Member

There's nothing to set up - xpass simply means a test marked as xfail (expected to fail) did unexpectedly pass.

The skipping/xfail docs briefly mention that:

Instead terminal reporting will list it in the “expected to fail” (XFAIL) or “unexpectedly passing” (XPASS) sections.

I'm not sure what else we could add to make this more clear - do you have an idea?

@davehunt
Copy link
Contributor

I believe @AutomatedTester was specifically looking for a way to report XPasses in the summary. The documentation currently mentions including skips and xfails with -rsx but does not mention XPasses, which would be shown by using rsxX or even -ra. It's also not made clear that imperative xfails could never xpass - it was his understanding that they could.

@nicoddemus nicoddemus added Hacktoberfest and removed type: enhancement new feature or API change, should be merged into features branch labels Sep 28, 2017
@ghost
Copy link

ghost commented Oct 6, 2017

I guess this can be closed, @RonnyPfannschmidt @nicoddemus ?

@RonnyPfannschmidt
Copy link
Member

thanks for the note

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: help wanted developers would like help from experts on this topic type: docs documentation improvement, missing or needing clarification
Projects
None yet
Development

No branches or pull requests

5 participants