Skip to content

versusvoid/unittest-asyncio-concurrent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 from unittest
  • 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.

About

Concurrent (async) execution of your TestCases

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages