Re: [Mailman-Developers] Reg: Writing tests for Mailman modules

On Jan 07, 2017, at 07:38 PM, Siddhartha Gairola wrote:
One of the most useful things for Core would be to help boost coverage. Many of the core modules are covered at 100% but a lot of them aren't. Right now the test suite is gated at 93% overall, but you can see that some are dismal at < 90% (even 40% in one case!). I will gladly work with anybody who wants to help boost coverage toward the eventual goal of 100% coverage. Untested code is broken code!
The best way to see coverage information is to run this with a checkout of Core:
% tox -e py35-cov
Adjust if necessary if you don't have Python 3.5 installed (i.e. py36-cov and py34-cov are also available).
I'm very happy to answer questions about how to write tests, the testing infrastructure, etc. either here on this mailing list or on IRC.
Cheers, -Barry
participants (1)
-
Barry Warsaw