Skip to content

v0.3.0

Compare
Choose a tag to compare
@github-actions github-actions released this 25 Feb 00:04
749fc70

Release created on: 25.02.2024 - 00:04:39

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