Skip to content

Allow disabling function and class index pages in html reports #2048

@pankajp

Description

@pankajp

Is your feature request related to a problem? Please describe.
In one of my projects, generating class and function index pages is taking more time than rest of the things including the full test code execution under coverage (timid) and html report generation upto index.html when it prints Wrote HTML report to html/index.html. After that there's a long wait until coverage process exits while it is generating class and index pages.

Describe the solution you'd like
Add a config option in [html] section to disable this class and function index page

Describe alternatives you've considered
Monkey-patching the code to no-op the coverage.html.HtmlReporter.write_region_index_pages

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions