Skip to content

Repository of sample tests #2643

@Lothiraldan

Description

@Lothiraldan

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions