Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v0.3.0 #14

Merged
merged 16 commits into from
Feb 24, 2024
Merged

v0.3.0 #14

merged 16 commits into from
Feb 24, 2024

Conversation

Paebbels
Copy link
Member

@Paebbels Paebbels commented Feb 22, 2024

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

@Paebbels Paebbels added Unit Testing Unit test summaries FileFormat: XML XML file format Tool: pytest labels Feb 22, 2024
@Paebbels Paebbels self-assigned this Feb 22, 2024
@Paebbels Paebbels marked this pull request as ready for review February 24, 2024 23:57
@Paebbels Paebbels merged commit 749fc70 into main Feb 24, 2024
40 of 41 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
FileFormat: XML XML file format Tool: pytest Unit Testing Unit test summaries
Development

Successfully merging this pull request may close these issues.

1 participant