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
AutomatedTester opened this Issue Oct 11, 2016 · 4 comments

Comments

Projects
None yet
6 participants
@AutomatedTester
Copy link

AutomatedTester commented Oct 11, 2016

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
@The-Compiler

This comment has been minimized.

Copy link
Member

The-Compiler commented Oct 11, 2016

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

This comment has been minimized.

Copy link
Contributor

davehunt commented Oct 11, 2016

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.

@xuanluong

This comment has been minimized.

Copy link
Contributor

xuanluong commented Oct 6, 2017

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

@RonnyPfannschmidt

This comment has been minimized.

Copy link
Member

RonnyPfannschmidt commented Oct 6, 2017

thanks for the note

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.