On Aug 27, 2009, at 4:00 PM, Don Dwiggins wrote:
> I've been successfully and happily using Trial for a while now for
> development of a server.  I have many tests at this point; during
> development of a new feature, I'd like to have a convenient way to  
> only
> run the tests relevant to that feature.
>
> I'm hacking it at this point by prefixing the names of all unwanted
> tests with "foo" to keep them from being recognized.  Naturally, I'd
> like a better way to do this.  Any good words welcome.

trial takes an argument at the command-line where you can specify a  
package or test case.

for example:

        trial twisted
        trial twisted.test
        trial twisted.test.test_explorer
        trial twisted.test.test_explorer.TestBrowser
        trial twisted.test.test_explorer.TestBrowser.test_chain

lets you get more and more specific.

-phil

_______________________________________________
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Reply via email to