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

Repository of sample tests #2643

Closed
Lothiraldan opened this issue Aug 1, 2017 · 2 comments
Closed

Repository of sample tests #2643

Lothiraldan opened this issue Aug 1, 2017 · 2 comments

Comments

@Lothiraldan
Copy link
Contributor

Hi,

I'm working on a pytest plugin that output JSON line per test: https://github.com/Lothiraldan/pytest-json

I was wondering if there is repository with examples of tests in all possible combinations, something like:

  • Passing function/class tests
  • Failing function/class tests
  • Test cases that randomly fails
  • Tests with fixtures
  • Tests with xfail

I think it might helps plugins author check that their plugins covers all possible cases and might be used by people to see how plugins output looks in all the cases.

If it doesn't exists, I plan to create one, would you prefer I create the repository under my name or under the pytest-dev organisation?

@RonnyPfannschmidt
Copy link
Member

@Lothiraldan we are thinking about such details and started as part of #2207

an extra repository may make sense as well - i think a discussion on the ml is needed to pick a good place for this

it may be a good idea to take pytester and move it out of pytest and have it ship a repository of different testsuites that then plugin authors can invoke on their plugins

but this is challenging topic for infrastructure, so a consensus and rough plan with buy-in is needed ^^

@Lothiraldan
Copy link
Contributor Author

Thx @RonnyPfannschmidt, I will answer on #2207

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

No branches or pull requests

2 participants