The package asynctest is built on top of the standard
and cuts down boilerplate code when testing libraries for
asynctest imports the standard unittest package, overrides some of its features
and adds new ones. A test author can import asynctest in place of
It is divided in submodules, but they are all imported at the top level,
asynctest.case.TestCase is equivalent to
Currently, asynctest targets the “selector” model. Hence, some features will not (yet) work with Windows’ proactor.
This documentation contains the reference of the classes and functions defined by asynctest, and an introduction guide.
- Test cases
- Advanced Features
asynctest is on github:
Patches, feature requests and bug reports are welcome.