[Twisted-Python] Testing Twisted code without trial

Itamar Turner-Trauring itamar at itamarst.org
Sun Jan 20 09:47:04 EST 2013


On 01/20/2013 09:35 AM, Adi Roiban wrote:
> Hi,
>
> I start my pet project using Python Nose as test runner. At the start,
> Twisted not used at all.
> Later I discovered Twisted and start using it... but testing Twisted
> requires trial.
>
Testing Twisted doesn't actually require trial; if you are using 
Twisted-specific testing features, it requires subclassing 
twisted.trial.unittest.TestCase. You can however still run the resulting 
tests with nose, I would guess.



More information about the Twisted-Python mailing list