Open youtux opened 5 months ago
Same here. Is there any workaround this ?
I guess the only workaround for now is to use custom fixtures.So for given MCVE would be something like:
@pytest.fixture()
def boring_article():
return ArticleFactory(boring=True)
Given a factory with traits, pytest_factoryboy should treat them as normal params, and allow them to be parametrized.
MCVE: