From 11df585a8b12bde6eaf3896f484c1a8ade1edc6f Mon Sep 17 00:00:00 2001 From: Patrick Lehmann Date: Thu, 25 Apr 2024 21:45:14 +0200 Subject: [PATCH] Copy fields from summary to the document. --- pyEDAA/Reports/Unittesting/JUnit.py | 8 ++++++++ pyEDAA/Reports/__init__.py | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/pyEDAA/Reports/Unittesting/JUnit.py b/pyEDAA/Reports/Unittesting/JUnit.py index 57754f10..28b3bb1c 100644 --- a/pyEDAA/Reports/Unittesting/JUnit.py +++ b/pyEDAA/Reports/Unittesting/JUnit.py @@ -99,6 +99,14 @@ def FromTestsuiteSummary(cls, xmlReportFile: Path, testsuiteSummary: TestsuiteSu doc._teardownDuration = testsuiteSummary._teardownDuration doc._totalDuration = testsuiteSummary._totalDuration doc._status = testsuiteSummary._status + doc._tests = testsuiteSummary._tests + doc._inconsistent = testsuiteSummary._inconsistent + doc._excluded = testsuiteSummary._excluded + doc._skipped = testsuiteSummary._skipped + doc._errored = testsuiteSummary._errored + doc._weak = testsuiteSummary._weak + doc._failed = testsuiteSummary._failed + doc._passed = testsuiteSummary._passed doc._warningCount = testsuiteSummary._warningCount doc._errorCount = testsuiteSummary._errorCount doc._fatalCount = testsuiteSummary._fatalCount diff --git a/pyEDAA/Reports/__init__.py b/pyEDAA/Reports/__init__.py index 99f95145..ec2dd18c 100644 --- a/pyEDAA/Reports/__init__.py +++ b/pyEDAA/Reports/__init__.py @@ -35,7 +35,7 @@ __email__ = "Paebbels@gmail.com" __copyright__ = "2021-2024, Electronic Design Automation Abstraction (EDA²)" __license__ = "Apache License, Version 2.0" -__version__ = "0.5.1" +__version__ = "0.5.2" __keywords__ = ["Reports", "Abstract Model", "Data Model", "Test Case", "Test Suite", "OSVVM", "YAML", "XML"] from enum import Enum