Skip to content

Releases: edaa-org/pyEDAA.Reports

v0.7.2

06 May 05:00
7e776c4
Compare
Choose a tag to compare

Release created on: 06.05.2024 - 05:00:51

New Features

None

Changes

None

Bug Fixes

  • Avoid deleting already deleted items.

v0.7.1

05 May 22:16
e22c457
Compare
Choose a tag to compare

Release created on: 05.05.2024 - 22:16:16

New Features

  • Handle multiple pytest cleanup rules at once.
  • Print verbose and debug messages when running pytest cleanups.

Changes

None

Bug Fixes

None

v0.7.0

05 May 21:24
5d0235d
Compare
Choose a tag to compare

Release created on: 05.05.2024 - 21:24:01

New Features

  • Strip overhead created by pytest from unit test reports.
    • New --pytest parameter for CLI tool.

Changes

  • When converting from TestClass to Testsuite, create one Testsuite per package/module/class level.
  • Renamed TestClass to Testclass.

Bug Fixes

  • Moved readonly property Kind to TestsuiteBase.

v0.6.0

05 May 18:20
11df558
Compare
Choose a tag to compare

Release created on: 05.05.2024 - 18:20:42

New Features

  • Implemented data model for Ant JUnit summary files as an independent data model.
  • Added conversion methods from JUnit data model to generic unit testing data model.
  • Added conversion methods from generic unit testing data model to JUnit data model.
  • Introduced a TestClass layer in the JUnit data model to abstract classname.
  • Added a Kind field to Testsuites (root, logical, namespace, package, module, class).
    This allows a JUnit Testcase and it's TestClass to be decomposed into multiple levels of Testsuites.
    In reverse a fully-qualified classname can be recreated by searching from Testcase upwards until a logical Testsuite is found.

Changes

  • Bumped dependencies.
  • Remove support of nested Testsuites from the JUnit data model.

Bug Fixes

None

Unit Tests

  • Added many new unit tests for the JUnit data model.

v0.5.2

25 Apr 19:55
69002dc
Compare
Choose a tag to compare

Release created on: 25.04.2024 - 19:55:11

New Features

None

Changes

None

Bug Fixes

  • Copy fields from summary to the document when a JUnit XML document is derived from a testsuite summary.d

v0.5.1

25 Apr 19:30
de62679
Compare
Choose a tag to compare

Release created on: 25.04.2024 - 19:30:03

New Features

None

Changes

  • Emit aggregated statistics in testsuites.

Bug Fixes

None

v0.5.0

24 Apr 21:48
85f2ef1
Compare
Choose a tag to compare

Release created on: 24.04.2024 - 21:48:36

New Features

  • Added command line interface (CLI) tool and entry point as pyedaa-reports.
  • Added Unittesting handler to merge JUnit test files for the the command line interface (CLI).
  • Added a basic abstraction for Python requirements.

Changes

  • Bumped dependencies.

Bug Fixes

  • Added missing field _tests.

v0.4.1

17 Mar 00:38
f0f845c
Compare
Choose a tag to compare

Release created on: 17.03.2024 - 00:38:14

New Features

None

Changes

None

Bug Fixes

  • Added missing Unittesting.xsd file as data file to wheel.
  • Added missing py.typed file as data file to wheel.

Related PRs:

None
bd

v0.4.0

16 Mar 17:36
d3a7e46
Compare
Choose a tag to compare

Release created on: 16.03.2024 - 17:36:07

New Features

  • Added XML Schema description for validation of junit-like XML files as a local resource.
  • Merge TestsuiteSummary, Testsuite and Testcase to MergedTestsuiteSummary, MergedTestsuite and MergedTestcase.
  • Separated TestsuiteState and TestcaseState.
  • Allow copying testsuite summaries, testsuites and testcases.
  • MergedTestcase.Status property is now cached.
  • Added Merged***.ToTestsuite, ToTestcase conversion methods.

Changes

  • Removed Python 3.8 support due to no support for importlib.resources.
  • Changed XML parsing from xml.dom.minidom to lxml.etree.
  • Updated parsing OSVVM's XML and YAML files (and reported issues to OSVVM).
  • Updated aggregation of counters and states.
  • Changed init parameters of Merged*** classes, to take an existing TestsuiteSummary, Testsuite and Tastcase as a starting point.

Bug Fixes

None

Tests

  • Added two JUnit example files from VUnit in Jenkins and Bamboo dialects.

Related PRs:

None
bd

v0.3.1

25 Feb 00:14
Compare
Choose a tag to compare

Release created on: 25.02.2024 - 00:14:24

(Due to missing version increment - same functional content as v0.3.0.)

New Features

  • Unittesting
    • New Read, Write, Parse, Generate methods on JUnitDocument and OsvvmYamlDocument.
      • A document can be created without immediate parsing.
      • A document can be read/analyzed in two steps:
        1. reading the document by the used file format reader (XML, YAML, ...)
        2. parse the structure of the document into the unified testsuite/testcase data model.
      • A document can be written/generated in two steps:
        1. generate the file format specific representation (XML, YAML, ...)
        2. write the content into a file.
    • New @ operator in TestcaseStatus to merge status values.
    • New iterator methods to iterate testsuites, testcases and both:
      • Iterate
      • IterateTestsuites
      • IterateTestcases
    • New properties for Testcase, Testsuite and TestsuiteSummary:
      • StartTime
      • SetupDuration
      • TeardownDuration
      • TotalDuration
      • WarningCount
      • ErrorCount
      • FatalCount
    • New dictionary access methods for all classes to attach arbitrary key-value pairs.
    • New properties for Testsuite and TestsuiteSummary:
      • TestDuration
      • AssertionCount
      • FailedAssertionCount
      • PassedAssertionCount
      • Excluded
      • Skipped
      • Errored
      • Failed
    • New method to convert to a pyTooling tree:
    • New Document class.
    • Merge unit test summary data models (and data files from XML).
      • New Merged and Combined mixin-classes.
      • New MergedTestcase, MergedTestsuite and MergedTestsuiteSummary classes.

Changes

  • Unified generic unit test data model and junit data model into a single data model.
    • Updated OSVVM YAML reader.
  • Renamed TestcaseState to TestcaseStatus and all related fields and properties (StateStatus).
  • New flag members in TestcaseStatus.

Bug Fixes

None

Documentation

None

Unit Tests

  • Added tests for DocStr_Coverage to check undocumented, partially documented and fully documented Python code examples.
  • Added 32 unit test summary files for unit test merge operations.
  • New testcases for unit test merging.

Related PRs:

None