[Twisted-Python] Thoughts about testing

Cory Dodt corydodt at twistedmatrix.com
Wed Oct 26 16:27:57 MDT 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

glyph at divmod.com wrote:
> 
> 
> Hmm, wildcards might be handy, but in practice I've never wanted more
> than trial's hierarchical naming.  One thing I wish trial had was a
> reporter mode that looked like 'make' output, eg:
> 
> % trial --gcc -e foo
> trial --gcc -e foo.test
> trial --gcc -e foo.test.test_whatever
> trial --gcc -e foo.test.test_whatever.TestWhatever.test1
>    OK
> trial --gcc -e foo.test.test_whatever.TestWhatever.test2
>    OK
> trial --gcc -e foo.test.test_whatever.TestWhatever.test3
>    FAILED: FooError
> foo/bar.py:1: ...
> 
> so I could easily jump to a failed test, then copy the exact trial line
> needed to run it, so that I could paste that into my buffer's test line,
> or run trial manually on the command line to 'zoom in' to the test or
> suite I want.

+1 Vorpal, Bugslaying


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDYALs3A5SrXAiHQcRAo4LAKCgUtvHUgYc9J1bMxc90jBGPHveDgCfXdWv
T22mtWl6P7j7ijI0oSfYOE4=
=c4nd
-----END PGP SIGNATURE-----




More information about the Twisted-Python mailing list