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

Francis J. Lacoste francis.lacoste at canonical.com
Wed Jun 1 20:42:32 UTC 2011


We did experiment with this in the past on Launchpad. Getting the coverage 
data adds a lot (and I do mean a lot) of overhead to the test suite. So it's 
not something we want to have PQM do on a regular basis.


-- 
Francis J. Lacoste
francis.lacoste at canonical.com

On June 1, 2011, John Arbash Meinel wrote:
> On 6/1/2011 9:47 PM, Aaron Bentley wrote:
> > On 11-06-01 07:11 AM, John Arbash Meinel wrote:
> >> 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.
> > 
> > It sounds like an interesting alternative approach.  I think both
> > approaches are flawed, but better than nothing.  At the moment, doing it
> > based on revisions doesn't require pre-calculation, and doesn't spend
> > require a full test run, which is a significant advantage for the
> > Launchpad codebase.
> > 
> > Aaron
> 
> Of course, you could have PQM manage a cache of that, which is committed
> to the tree. So when PQM runs the test suite, it saves the coverage
> somewhere in a format that is amenable to deltas. Then you get both :)
> 
> John
> =:->
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.ubuntu.com/archives/bazaar/attachments/20110601/98a92adb/attachment.pgp>


More information about the bazaar mailing list