Is there a testing framework that works with threads in Python? -
i understand question might closed, downvoted etc. nonetheless there's no better forum ask here goes.
i have publisher in python in thread 1 , subscriber in thread 2. trying code integration tests publisher thread sends data enterprise bus , after delta time subscriber callback happens in thread 2. that's general pattern, , until first test completes don't move test 2.
i have been investigating frameworks nothing seems have need. closest came tornado's asynctest http://tornado.readthedocs.org/en/latest/testing.html that's event driven , looking similar threads.
i sure problem has been solved elegantly somewhere. if helps on python 2.7.
Comments
Post a Comment