[katello-devel] Getting code coverage with our tests

Dmitri Dolguikh dmitri at redhat.com
Mon Nov 19 13:07:00 UTC 2012


On 16/11/12 08:12 PM, David Davis wrote:
> I can get Jenkins to run something like SimpleCov [1] along with something like pylint to check our code style too. This would be just for our Ruby code. Does that sound good? Or were you looking for python test coverage as well? I could look into that too.

there's support for code coverage under 1.8.7 (rcov) and 1.9.3 
(simplecov) in the Rakefile (for some reason I see *both* when i run 
'rake -T'). Should be pretty simple to use on jenkins.

-d

>
> Thanks!
>
> [1] https://github.com/colszowka/simplecov
>
> David
>
> ----- Original Message -----
>> From: "Og Maciel" <omaciel at redhat.com>
>> To: "katello-devel" <katello-devel at redhat.com>
>> Sent: Friday, November 16, 2012 3:05:12 PM
>> Subject: [katello-devel] Getting code coverage with our tests
>>
>> Hey!
>>
>> I was wondering if we could get what our code coverage (unit) is and
>> have it in a easy to access web page, so that we can focus on:
>>
>> * adding more tests where we need
>> * add more automation to the same above
>>
>> Please? :)
>> --
>> Og Maciel
>>
>> Senior QA Engineer
>> Red Hat, Inc.
>> +1.646.707.7723
>> irc: omaciel
>>
>> _______________________________________________
>> katello-devel mailing list
>> katello-devel at redhat.com
>> https://www.redhat.com/mailman/listinfo/katello-devel
>>
> _______________________________________________
> katello-devel mailing list
> katello-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/katello-devel




More information about the katello-devel mailing list