From 4f1e21dfb024fa2aea33eee150e2e6816b6c5bdd Mon Sep 17 00:00:00 2001 From: c4rlosdias Date: Sat, 5 Aug 2023 10:50:27 -0300 Subject: [PATCH] Add element guId in BCF report --- src/ifctester/ifctester/reporter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ifctester/ifctester/reporter.py b/src/ifctester/ifctester/reporter.py index ae9e0cd479..0cac09d14d 100644 --- a/src/ifctester/ifctester/reporter.py +++ b/src/ifctester/ifctester/reporter.py @@ -342,7 +342,7 @@ class Bcf(Json): continue for failure in requirement["failed_entities"]: element = failure["element"] - title = f"{element.id()}/{element.is_a()}/" + title = f"ID:[{element.id()}]/GUID:[{element.GlobalId}]/{element.is_a()}/" title += getattr(element, "Name", None) or "Unnamed" title += " - " + failure.get("reason", "No reason") description = f'{specification["name"]} - {requirement["description"]}'