Plugin test suite runner
John Arbash Meinel
john at arbash-meinel.com
Thu Nov 8 23:03:34 GMT 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I've been working more on plugins lately, and realizing that it would be nice
to have a simple way to run just the tests in a plugin.
I've talked quite a bit with Martin or Robert about the "right way" to do it
inside bzrlib. However, this is a quick and dirty, 5 minute plugin which does
it easily.
Attached is a bundle which sums up the single revision which is represented.
I might turn this into a Launchpad project, but considering it is a sum total
of a single 100 line file, it seems a bit heavy.
But I thought others might find it useful, so here goes.
It generally should support all the options of regular "bzr selftest" only by
doing:
bzr test-plugin PLUGIN ...
so
bzr test-plugin gtk --verbose test_commit
To run all of the gtk 'test_commit' tests.
John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHM5XGJdeBCYSNAAMRAhPBAJwL+avH0AjqeFdEKVdYFx6f7z5+LgCghjca
o8LnFDDarQxXZEvAl/0+z04=
=6iNg
-----END PGP SIGNATURE-----
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: test_plugin.patch
Url: https://lists.ubuntu.com/archives/bazaar/attachments/20071108/f4c8ff1e/attachment-0001.diff
More information about the bazaar
mailing list