[MERGE] selftest enhancements: --exclude, --randomize, --list-only

Aaron Bentley aaron.bentley at utoronto.ca
Wed Apr 4 16:05:31 BST 2007


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

Ian Clatworthy wrote:
> Patch addressing https://bugs.launchpad.net/bzr/+bug/102679 (selftest
> --not option) and https://bugs.launchpad.net/bzr/+bug/102686 (selftest
> --randomize option) attached. I've gone with --exclude in place of --not
> because that works better with Bazaar's option handling framework.

Do you mean just because of our --no-foo convention?  Or was there a
technical issue?

> Being front-end test harness code, I struggled to put together sensible
> regression tests for these features. All advice and suggestions in this
> area is very welcome.

I would like it if we could pass in our own sorting routine to
TextTestRunner.__init__.  Then I could write some plugins to run tests
in a different order.

Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGE7670F+nu1YWqI0RAgCVAJ4p+SNBPdlwqXOuHDA6Z2rx9MhtCQCfdaoD
ZIqsU2EmuaJcDnI3FBAGyS8=
=t6XZ
-----END PGP SIGNATURE-----



More information about the bazaar mailing list