v0.3.0
Release created on: 25.02.2024 - 00:04:39
New Features
- Unittesting
- New
Read
,Write
,Parse
,Generate
methods onJUnitDocument
andOsvvmYamlDocument
.- A document can be created without immediate parsing.
- A document can be read/analyzed in two steps:
- reading the document by the used file format reader (XML, YAML, ...)
- parse the structure of the document into the unified testsuite/testcase data model.
- A document can be written/generated in two steps:
- generate the file format specific representation (XML, YAML, ...)
- write the content into a file.
- New
@
operator inTestcaseStatus
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
andCombined
mixin-classes. - New
MergedTestcase
,MergedTestsuite
andMergedTestsuiteSummary
classes.
- New
- New
Changes
- Unified generic unit test data model and junit data model into a single data model.
- Updated OSVVM YAML reader.
- Renamed
TestcaseState
toTestcaseStatus
and all related fields and properties (State
→Status
). - 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