[RFC] small updates to test running
John Arbash Meinel
john at arbash-meinel.com
Wed Jul 12 17:18:09 BST 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Currently the selftest suite runs all of the adapted Transport tests
before running any other tests. This takes quite a while, and Transport
has been stable for a while. I think it would be nice if we ran them
after the testmod_names. Just trying to move failed tests earlier.
Second, I think it would be nice if the non-verbose mode would print out
a single line for failed/error tests. It goes back to Aaron's earlier
complaint, that now you have to run the whole test suite before it
prints out anything about what has failed. I think doing something like:
test.foo.bar.baz: FAIL
test.xxx.yy.zzz: ERROR
[======== ] 10/1000
It would add 1 line for everything that fails, but it is nicer in a few
ways.
1) You know that something is failing before the test finishes
2) You can see what is actually failing and go work on that test while
waiting for the rest to finish.
3) You can quickly spot fail/error tests, rather than grepping through
the output of --verbose
I'm not positive that the attached patch does the right thing. I wanted
to get discussion on it before I tried to really implement it, but
figured that a code submission makes it more concrete as to what I'm
thinking.
John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFEtSDAJdeBCYSNAAMRAnLHAKCdcus7CsLFRTAQ7XIYSUDxQ9SZhQCePO0+
+VRxIB2e0p0qyd+H/P724bk=
=VX4J
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: helpful-tests.diff
Type: text/x-patch
Size: 1676 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060712/13effa90/attachment.bin
More information about the bazaar
mailing list