EmptyReport¶
Empty report implementation for testing.
- class varats.data.reports.empty_report.EmptyReport(path)[source]¶
Bases:
BaseReportAn empty report for testing.
Nothing gets printed into the report and the result file has no file type.
- FILE_TYPE: str = 'txt'¶
- SHORTHAND: str = 'EMPTY'¶
The EmptyReport is a demonstrator
for the minimal viable report providing all the basic functionality that is
needed by an experiment. However, to be actually useful for further data
processing, a report should also implement the constructor __init__(self,
path: Path) which loads the report data from the given file and makes it
accessible through the reports API.
from varats.report.report import BaseReport
class EmptyReport(BaseReport, shorthand="EMPTY", file_type="txt"):
"""
An empty report for testing.
Nothing gets printed into the report and the result file has no file type.