NBi icon indicating copy to clipboard operation
NBi copied to clipboard

Support temporal assertions regarding the absence of overlap for a time period

Open Seddryck opened this issue 2 years ago • 0 comments

It should be possible to assert that a result-set, with a time period, has no overlap in the definition of this time-period. 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-overlaps>
    <time-period start="#3" end="EndPeriodColumn"/>
    <group-by>...<group-by>
  </without-overlaps>
</assert>

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.

Seddryck avatar Aug 05 '22 23:08 Seddryck