NBi
NBi copied to clipboard
Support temporal assertions regarding intersection of a time tick and a given datetime
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 tick is defined as the closed-open time interval between a datetime and a timespan.
<system-under-test>
<result-set>
...
</result-set>
</system-under-test>
<assert>
<precedes timestamp="...">
<time-tick start="#3" span="00:15:00"/>
<group-by>...<group-by>
</precedes>
</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.