[Twisted-Python] Running Twisted tests with testtools

Glyph glyph at twistedmatrix.com
Mon Feb 6 12:54:54 MST 2012


On Feb 6, 2012, at 2:01 PM, Jonathan Lange wrote:

> On Mon, Feb 6, 2012 at 6:37 PM, Glyph Lefkowitz <glyph at twistedmatrix.com> wrote:
>> On Feb 6, 2012, at 10:48 AM, Jonathan Lange wrote:
>> 
>> In my ideal world, Twisted's TestCase would inherit from testtools's
>> TestCase and would continue to provide the same API it does today.
>> This might not be everyone else's ideal though, and the path from here
>> to there is unclear to me. I welcome your thoughts.
>> 
>> 
> ...
>> While testtools' features are nice, and I will likely even elect to use
>> myself it for testing some Twisted applications in the future, I would set
>> the bar very high for making testtools a required dependency for Twisted's
>> own test suite.
> 
> I highly recommend trying it out.

In my copious spare time :).

>>  Just for starters, the Python packaging ecosystem disaster
>> would need to be fixed;
> 
> As much as I would like to see that happen, I am not ever going to do
> anything about it.

You and me both.

>> also, the name of the package should be changed to
>> be more unique so that users wouldn't find things like
>> <http://www.testtools.com/> and <https://github.com/ferruhy/testtools> when
>> searching around the web for the contents of the inevitable packaging error
>> message.
>> 
> 
> We've already renamed once (from pyunit3k). Would consider renaming
> again if someone suggested something sufficiently good.
> 
> Thanks for the reply.

No problem; thanks for your message!



More information about the Twisted-Python mailing list