[Twisted-Python] twisted.trial : running tests : example requested
Jonathan Lange
jml at mumak.net
Wed Oct 5 16:41:21 MDT 2005
On 06/10/05, Jp Calderone <exarkun at divmod.com> wrote:
> On Wed, 05 Oct 2005 13:47:21 -0700, Todd Greenwood <tgreenwoodgeer at yahoo.com> wrote:
> >1. I saw an email thread that stated that the twisted.trial.doctest feature
> >is going away, is this true? If not, could I get a simple example?
>
> Hopefully. It's embarassing.
>
It's not going away (yet). It will be in 2.1.
You can find an example of its use in twisted/web2/test/test_stream.py
(in svn).
> >2. I am working thru the docs at:
> >http://twistedmatrix.com/projects/core/documentation/howto/policy/test-
> >standard.html and the section 'Running the Tests' doesn't make sense to me:
> >"""
> >Running the Tests
> >How
> >
> >$ Twisted/admin/runtests
> >"""
>
> This was true for older releases. Now it's "trial twisted".
>
In svn, it's "trial twisted".
In the most recent release it is "trial -R twisted".
cheers,
jml
More information about the Twisted-Python
mailing list