Manually Running Tests
If needed, you can invoke pytest directly from the root python/ directory for custom workflows:
Run all tests manually
Section titled “Run all tests manually”source .env/bin/activatepytest -vRunning with different async backends
Section titled “Running with different async backends”Python GLIDE supports both trio and asyncio. Pass the --async-backend flag to pytest with either trio, asyncio or uvloop to run tests on the specified async backend. You can pass multiple async backends to run tests on all of them.
Example:
source .env/bin/activatepytest -v --async-backend=trio --async-backend=asyncio