http://pypi.python.org/pypi/trialcoverage
I've been hoping to get it bundled into the coverage.py distribution
or else into the trial distribution. I guess my motivations for
wanting trialcoverage to be bundled into one of those other projects
(coverage.py or trial) are:
1. If coverage.py or trial changes, then trialcoverage might need to
adapt. If trialcoverage is bundled then the person who changes
coverage.py or trial is more likely to notice.
2. Easier for users if they don't have to install them separately.
3. Hopefully the maintainers of coverage.py or trial will start
maintaining trialcoverage so I don't have to. :-)
4. They might see what trialcoverage is doing and realize that they
could implement the same or better functionality directly into their
own project and do that, obsoleting trialcoverage.
Regards,
Zooko
But one of the reasons I added support for .coveragerc files was
specifically to allow people to use new features in coverage.py without
having to change their UI, for example, the nose plugin. This should
remove the need to constantly update the plugin as features are added to
coverage, since they'll be controllable without having to add tons of
new command-line switches to the plugin. In fact, I'm going to remove a
number of the current plugin options, leaving only the most basic
switches, and require the more advanced stuff be configured in the .rc file.
Also, I've been struggling with logistical issues around having the
plugin as part of the coverage.py kit anyway: in particular, testing the
plugins is a big departure from testing coverage.py itself.
So I could really see separating out the plugins into their own
project. At this point, there are a number of them: nose ships one,
coverage.py has a nose plugin and a py.test plugin, memedough has a
py.test plugin, and Zooko has trialcoverage.
Memedough, to address some of your questions: as of nose 0.11.3, a
plugin can be overridden with a same-named plugin from another package.
So if you install nose, then coverage.py, the cover plugin in
coverage.py will be used, and nose's built-in cover plugin will be
unavailable. When you use -h, you'll only see help for the
latest-installed plugin. I'm not sure how py.test deals with this.
--Ned.
--Ned.