Open dimaqq opened 5 years ago
@dimaqq I know this issue is specifically about the fixture setup. #69 is about running tests asynchronously.
Would it be acceptable for you to close this issue in favour of #69?
I think you can decide that @seifertm
This is more an idea / question how hard it would be.
While
pytest
ensures stable fixture order, it's made with synchronous fixtures in mind.pytest-asyncio
on the other hand allows for async fixtures and typically async test cases imply async code under test which implies async dependencies which imply async fixtures.Thus, how about running setup and teardown asynchronously too, for example:
Would run as: