Add support for py.test fixtures
wolever opened this issue · 2 comments
wolever commented
For example:
import pytest
@pytest.fixture
def some_fixture():
yield "world!"
expect([
"test_pytest_fixture('hello', 'world!')",
])
@parameterized([
('hello', ),
])
def test_pytest_fixture(param, some_fixture):
missing_tests.remove("test_pytest_fixture(%r, %r)" %(param, some_fixture))
There should also be tests added for:
-
pytest.mark.usefixtures
- combining py.test fixtures with
@mock.patch
decorators
yunuscanemre commented
bump 🙏
Yingqingshan commented
这个如何解决?好像会报错