Wrote a small black-box test suite for bazaar
Robert Collins
robertc at robertcollins.net
Wed Aug 27 01:24:35 BST 2008
On Tue, 2008-08-26 at 21:07 +0200, Geoff Bache wrote:
>
> Hi all,
>
> I attach this in case anyone thinks it might be useful. I don't mean
> to imply that Bazaar is inadequately tested
> but I thought this might be a useful addition to its current testing.
> It didn't take me long to produce it and
> I think you could easily produce a lot more of this kind of test quite
> quickly
Are you aware of our black box tests in bzrlib.tests.blackbox.test_*?
Comprehensive tests for all our command-layer handling lives there
currently.
From your description of your tests they will be extremely fragile to
changes in any defaults: E.g. the transition from knits to packs would
have changed the output data radically. Fork+exec is also slow when done
thousands of times, which is why we only fork & exec sufficient to test
that the test harness is robust and beyond that do it all in-process.
That said though, what sort of coverage would the thing you have put
together *add* to our current testing?
-Rob
--
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20080827/81068008/attachment.pgp
More information about the bazaar
mailing list