unittest-asyncio-concurrent
POC concurrent (in event loop) execution of your TestCases. With support for contextual unittest.mock
.
Allows all and any *setUp()
, *tearDown()
and test being async functions.
Missing support for a lot details not required for POC:
doClassCleanups()
/doModuleCleanups()
because it would require more copy-paste fromunittest
patch.dict()
(but can be added in like 5 minutes).debug()
- output capture
- ?????
Usage:
$ python -m uac.unittest *usual unittest arguments*
or (will replace unittest.defaultTestLoader
):
import uac.unittest
For example see test of test.