[Launchpad-dev] Bzr plugin for guessing relevant test modules: Fault line

John Arbash Meinel john at arbash-meinel.com
Wed Jun 1 11:11:30 UTC 2011


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


...
>>
>> I've hacked on an extension that adds wraps 'bzr selftest' and adds a
>> --auto argument, which makes selftest use faultline to determine the
>> tests to run. It's a bit hackish, but it does appear to work.
> 
> I forgot to mention the Launchpad branch with this; it can be found in :
> 
> lp:~jelmer/fault-line/bzr-selftest-support
> 
> Cheers,
> 
> Jelmer


You could consider doing stuff with 'coverage' to do the opposite
method. Which is to run each test and find what files it exercises. Then
link them up in reverse. However, that is probably a lot slower anyway.

Neat idea.

John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk3mHmIACgkQJdeBCYSNAAMOuACgq6u2kugIs4rkN1tKZxhENwsP
VUsAnRWu8AtrQ4uLY5NHcNFngy6qwBEP
=tTmd
-----END PGP SIGNATURE-----



More information about the bazaar mailing list