Introducing pytest-asyncio

79 views
Skip to first unread message

Tin Tvrtković

unread,
Apr 12, 2015, 7:59:25 PM4/12/15
to python...@googlegroups.com
Hello,

if you're like me and like asyncio and pytest, I've put together something to make it easier: https://github.com/Tinche/pytest-asyncio. It's up on PyPI as well.

Hopefully the README is enough, if you'd like some real-world examples you can take a look at my aiofiles tests which use it (https://github.com/Tinche/aiofiles/tree/master/tests).

Travis is having some issues with the builds so I don't have the coverage badge working yet, but there's 100% coverage. (Doesn't mean it's bug-free of course, just that it's probably fine. :)

Ludovic Gasc

unread,
Apr 13, 2015, 9:53:07 AM4/13/15
to Tin Tvrtković, python-tulip
Hi Tin,

Thank you a lot for this library, I've added on the ThirdParty wiki page: https://github.com/python/tulip/wiki/ThirdParty#libraries
Personally, for now, I used this trick: http://stackoverflow.com/a/28565547/1211023
I'll test your library for my next development.

I wanted to make a library like this in my todo-list, I'm really happy that somebody's else takes the leadership for that.
We have only have 24 hours by day ;-)

Regards.


--
Ludovic Gasc (GMLudo)
Reply all
Reply to author
Forward
0 new messages