Skip to content

Add possibility of printing BINS information with pyucis report --output-format 'txt' #25

@s3rg1o7

Description

@s3rg1o7

I would like to have the possibility of printing a very verbose summary from pyucis in TXT mode. It's a pity the the self.details = False is not changeable from the outside and I propose a minimally invasive pull request to add this functionality in the report/format_rpt_text.py

    def report(self,
               db : UCIS,
               out,
               args):
        self._report = CoverageReportBuilder.build(db)
        self._fp = out

        if any(['details' in arg for arg in args]):
            self.details = True

        for cg in self._report.covergroups:
            self.report_covergroup(cg, False)

Then one could all the +details to the pyucis report call to add the BINS to the printed summary:

 pyucis +details report --out my_summary.log --input-format xml my_xml_db.xml

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions