[TIP] detecting when a changeset is not well tested

Tarek Ziadé ziade.tarek at gmail.com
Tue Aug 23 16:17:14 PDT 2011


On Tue, Aug 23, 2011 at 9:15 PM, Kumar McMillan
<kumar.mcmillan at gmail.com> wrote:
> On Tue, Aug 23, 2011 at 9:59 AM, Tarek Ziadé <ziade.tarek at gmail.com> wrote:
>> Hey
>>
>> So, I can build this in a script or... ask here if something exists already :)
>>
>> I am looking for a script that can:
>>
>> 1/ keep a history of the test coverage for every module of my project
>> 2/ on a commit, detect when the coverage for a module lowers
>> 3/ send a warning and point the part that's not covered
>>
>> I guess that could be a script on the top of "coverage", but maybe
>> someone has done this already ?
>
> There was a recent announcement on the Nose list about this plugin
> that records test results to a database (I think there are others that
> do this too) http://hg.indydevs.org/nosedbreport  I don't see any
> mention of recording coverage results but this might be a good
> starting point if you're using Nose.
>
> fwiw, Jenkins allows you to graph results like coverage (if you use
> the cobertura output) and there might already be a way to generate
> alerts based on reduced coverage.

I don't want this part to rely on Jenkins and Jenkins plugins, because
I can see it used in developers boxes where they could record the
coverage transparently everytime the tests are run and get this
feature.


>
> Kumar
>
>>
>> Cheers
>> Tarek
>>
>> --
>> Tarek Ziadé | http://ziade.org
>>
>> _______________________________________________
>> testing-in-python mailing list
>> testing-in-python at lists.idyll.org
>> http://lists.idyll.org/listinfo/testing-in-python
>>
>



-- 
Tarek Ziadé | http://ziade.org



More information about the testing-in-python mailing list