[Distutils] Script for easy access to the coverage report on distutils2

Tarek Ziadé ziade.tarek at gmail.com
Sun May 23 18:41:36 CEST 2010


On Sun, May 23, 2010 at 3:46 AM, Yannick Gingras <ygingras at ygingras.net> wrote:
>
> Greetings Packagers,
>  as part of our sprinting effort at Montréal-Python, we found it
> relevant to give an easy access to the test coverage reports to
> sprinters because it really helps them to see what needs more testing
> and when kind of breakage then can expect the tests to catch.
>
> I tried to use nose but the naming convention used seem to trigger way
> too many false positives so I'm afraid that we have to rule distutils2
> as nose-incompatible.
>
> I could add a series of commands to our wiki, which is good for us but
> not very helpful to other distutils2 hackers, or I could integrate
> coverage in the current `runtests.py` test runner.  Is there anyone
> one against adding a --with coverage option to `runtests.py`?

Good idea, let me know when it's up in your clone, and I'll review/pull it

Notice that this script is the basis for the soon-to-be-set Hudson CI server,
so we will be able to run a daily coverage report of some sort we can
publish -- if you
take care of making it possible to output HTML.


Thanks,

Tarek

>
> Cheers,
>
> --
> Yannick Gingras
> http://ygingras.net
> http://montrealpython.org -- lead organizer
>
> _______________________________________________
> Distutils-SIG maillist  -  Distutils-SIG at python.org
> http://mail.python.org/mailman/listinfo/distutils-sig
>
>



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


More information about the Distutils-SIG mailing list