Skip to content

Support temporal assertion regarding the absence of gap for a time period #696

@Seddryck

Description

@Seddryck

It should be possible to assert that a result-set, with a column for time ticks, is containing/preceding/succeeding a given datetime. A time period is defined as the closed-open time interval between two datetime.

<system-under-test>
  <result-set>
    ...
  </result-set>
</system-under-test>
<assert>
  <without-gap>
    <time-period start="#3" end="EndPeriodColumn"/>
    <over-period start="2022-06-01" end="2022-07-01"/>
    <group-by>...<group-by>
  </without-gap>
</assert>

The optional over-period lets you define that the test should also report failure if the interval covered by the time-ticks is not containing the start and the end of the period.

The optional group-by let you define that system-under-test rows should not be tested as a single set of rows but should be subdivided into subsets, each subset being defined by the group-by.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions