Victor,

It's such a great idea! Congrats.

Maybe we should include aiotest to the asyncio package/python stdlib? This way it will always stay in sync and up to date with asyncio APIs, and will be something that everybody who implements asyncio-compatible loops will use.

Yury

On 2014-12-12, 12:14 PM, Victor Stinner wrote:
Hi,

I wrote a new aiotest project which is a test suite to validate an
implementation of the asyncio API:
https://pypi.python.org/pypi/aiotest

aiotest 0.1 includes a very small test suite: only 15 basic tests. I
plan to slowly move or copy more or more tests from the asyncio test
suite.

While asyncio test suite heavily depends on the implementation,
private attributes and asyncio submodules, I tried to only test the
behaviour without using any private API. That's why aiotest cannot
fully replace existing test suite, it is a complementary test suite.

I added a run_aiotest.py script to:

- aiogevent
- aioeventlet
- tulip
- trollius

The aiotest test suite is now run by the "tox" command of the
aiogevent, aioventlet and trollius projects.

Victor

Reply via email to