ifctester.reporter¶
Module Contents¶
- class ifctester.reporter.Bcf(ids: ifctester.ids.Ids, hide_skipped=False)¶
Bases:
Json- report_failed_entities(requirement: ifctester.facet.Facet) list[ifctester.facet.FacetFailure]¶
- class ifctester.reporter.Console(ids: ifctester.ids.Ids, use_colour=True)¶
Bases:
Reporter- report() None¶
- report_reason(failure: ifctester.facet.FacetFailure) None¶
- report_specification(specification: ifctester.ids.Specification) None¶
- colours¶
- use_colour = True¶
- class ifctester.reporter.Html(ids: ifctester.ids.Ids, hide_skipped: bool = False)¶
Bases:
Json- group_by_type(entities)¶
- limit_entities(entities)¶
- report() None¶
- entity_limit = 100¶
- class ifctester.reporter.Json(ids: ifctester.ids.Ids, hide_skipped=False)¶
Bases:
Reporter- encode(obj)¶
- report_applicable_entities(specification: ifctester.ids.Specification) list[ResultsEntity]¶
- report_failed_entities(requirement: ifctester.facet.Facet) list[ResultsEntity]¶
- report_passed_entities(requirement: ifctester.facet.Facet) list[ResultsEntity]¶
- report_specification(specification: ifctester.ids.Specification) ResultsSpecification¶
- results¶
- class ifctester.reporter.Ods(ids: ifctester.ids.Ids, excel_safe=False)¶
Bases:
Json- colours¶
- excel_safe = False¶
- class ifctester.reporter.OdsSummary(ids: ifctester.ids.Ids, excel_safe=False)¶
Bases:
Json- colours¶
- excel_safe = False¶
- class ifctester.reporter.Reporter(ids: ifctester.ids.Ids)¶
- report(ids)¶
- to_string()¶
- write(filepath)¶
- ids¶
- class ifctester.reporter.Results¶
Bases:
TypedDictdict() -> new empty dictionary dict(mapping) -> new dictionary initialized from a mapping object’s
(key, value) pairs
- dict(iterable) -> new dictionary initialized as if via:
d = {} for k, v in iterable:
d[k] = v
- dict(**kwargs) -> new dictionary initialized with the name=value pairs
in the keyword argument list. For example: dict(one=1, two=2)
Initialize self. See help(type(self)) for accurate signature.
- hide_skipped: bool¶
- percent_checks_pass: ResultsPercent¶
- percent_requirements_pass: ResultsPercent¶
- percent_specifications_pass: ResultsPercent¶
- specifications: list[ResultsSpecification]¶
- status: bool¶
- total_checks: int¶
- total_checks_fail: int¶
- total_checks_pass: int¶
- total_requirements: int¶
- total_requirements_fail: int¶
- total_requirements_pass: int¶
- total_specifications: int¶
- total_specifications_fail: int¶
- total_specifications_pass: int¶
- class ifctester.reporter.ResultsRequirement¶
Bases:
TypedDictdict() -> new empty dictionary dict(mapping) -> new dictionary initialized from a mapping object’s
(key, value) pairs
- dict(iterable) -> new dictionary initialized as if via:
d = {} for k, v in iterable:
d[k] = v
- dict(**kwargs) -> new dictionary initialized with the name=value pairs
in the keyword argument list. For example: dict(one=1, two=2)
Initialize self. See help(type(self)) for accurate signature.
- failed_entities: list[ResultsEntity]¶
- metadata: dict¶
- passed_entities: list[ResultsEntity]¶
- percent_pass: ResultsPercent¶
- status: bool¶
- total_applicable: int¶
- total_fail: int¶
- total_pass: int¶
- class ifctester.reporter.ResultsSpecification¶
Bases:
TypedDictdict() -> new empty dictionary dict(mapping) -> new dictionary initialized from a mapping object’s
(key, value) pairs
- dict(iterable) -> new dictionary initialized as if via:
d = {} for k, v in iterable:
d[k] = v
- dict(**kwargs) -> new dictionary initialized with the name=value pairs
in the keyword argument list. For example: dict(one=1, two=2)
Initialize self. See help(type(self)) for accurate signature.
- applicable_entities: list[ResultsEntity]¶
- is_ifc_version: bool¶
- is_skipped: bool¶
- percent_applicable_pass: ResultsPercent¶
- percent_checks_pass: ResultsPercent¶
- requirements: list[ResultsRequirement]¶
- status: bool¶
- total_applicable: int¶
- total_applicable_fail: int¶
- total_applicable_pass: int¶
- total_checks: int¶
- total_checks_fail: int¶
- total_checks_pass: int¶
- ifctester.reporter.ResultsEntity¶
- ifctester.reporter.ResultsPercent¶
- ifctester.reporter.cwd¶