[Twisted-Python] Trial - A replacement for pyunit.
jml at mumak.net
Fri Jan 3 07:35:50 EST 2003
In the spirit of "We Invented NIH", Twisted Matrix Labs bring you a
replacement for your favourite unit test framework.
So what's my excuse?
Twisted has already forked pyunit, so in a sense this is nothing new.
However, changes made to that forked code-base aren't really that useful
to any of our users. To get any of our added value, they'd have to use
their own fork of pyunit. Re-writing it gets rid of any nasty copyright
Asynchronous unit tests are a challenge. The DeferredTestCase stuff in
pyunit.unittest is a start, but not enough. Hopefully, trial will make
The tight coupling of runtests and test_all is kind of ugly. This is no
longer necessary in trial.
$ ./admin/runtests -t
is equivalent to
$ ./bin/trial -p twisted.test
Oh, I should mention that this wasn't my idea. It's all glyph's fault.
He made me do it.
More information about the Twisted-Python