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

Comments

@AutomatedTester
Copy link

@AutomatedTester 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
Copy link
Member

@The-Compiler 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
Copy link
Contributor

@davehunt 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.

@ghost
Copy link

@ghost ghost commented Oct 6, 2017

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

@RonnyPfannschmidt
Copy link
Member

@RonnyPfannschmidt 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
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
5 participants