Skip to content

Support for Metafunc #7

Description

@t2y

(Original issue 7 created by None on 2017-09-13T07:01:23.171356+00:00)

I've extended Generator for django models and am using quickcheck to create objects to store for tests (running alongisde pytest-django).

The only way to reliably do this is to implement fixtures that pick up the generated data and store it. This works well, but I end up with a long list of randomize parameters for every test.

It would be fantastic if, similar to pytest's parametrize, I could tag my functions using pytest_generate_tests to create the necessary randomized input for tests relying on certain fixtures.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions