coveragepy icon indicating copy to clipboard operation
coveragepy copied to clipboard

Add a supported way to get the current list of plugins

Open nedbat opened this issue 5 years ago • 1 comments

Is your feature request related to a problem? Please describe. The django-coverage plugin wants to examine the current list of plugins in its tests. It also wants to know whether a plugin is enabled or disabled.

Describe the solution you'd like Please provide a method on Coverage to get the current plugins. Provide a method or attribute on the plugins that indicate whether they are enabled or disabled.

nedbat avatar Jan 14 '20 16:01 nedbat

This would only need a way to retrieve Coverage._plugins.names, as CoveragePlugin already has a _coverage_enabled attribute, right?

devdanzin avatar Jun 30 '24 13:06 devdanzin