[Twisted-Python] Running Twisted tests with testtools
free at 64studio.com
Wed Feb 8 14:03:59 EST 2012
|--==> On Wed, 8 Feb 2012 12:30:14 -0500, Glyph <glyph at twistedmatrix.com> said:
G> On Feb 8, 2012, at 12:22 PM, Free Ekanayaka wrote:
>>Probably a good addition to the documentation of the two projects
>>would be to describe the differences between the two and if there is
>>any reason one should use one or the other, beside bare taste. I can
>>surely help with that when I have better picture myself.
G> I still disagree. This is the job for some other website, to compare
G> python testing tools. After all, why not add in nose? py.test? They
G> both also have Twisted support that works differently. Trial's
G> website and documentation should focus on how Trial works and how to
G> use it, not on providing a comprehensive comparison matrix.
G> I'm not saying that such a comparison shouldn't exist, just that it
G> shouldn't be the Twisted website's job and it's certainly not the
G> Trial documentation's job. So feel free to write one up!
G> (Plus, returning Deferreds should ideally be an edge case, even in the
G> context of testing Twisted stuff - as much as possible, tests should
G> run synchronously and simulate the events that cause asynchrony in the
G> real world, so that they can test different orderings and edge cases
G> and not just depend on random load variance on the build machines to
G> get coverage of those cases.)
Both good points, agreed.
More information about the Twisted-Python