Keyboard

↓ ↑
move between the rows you can see
→
open a feature, then step into it
←
close a feature, or step out to the one above
Enter
go to the page in focus
Tab
the same rows, plus everything else on the page
/
search the whole report
m
open or close the navigation drawer
Esc
leave the search box, or close the drawer
?
this list

Marks a set that expands the row into one run per value

All 2 scenarios hold

A published table carries more than its text. The reporter marks which column names the scenario, and which column holds the expectation. It also records how each row fared when it ran.

A mark needs somewhere to live, and the three formats put one in different places. HTML sets a class on the cell. AsciiDoc puts a role prefix on the value. Markdown has nowhere at all. The rules below therefore print the cell each format published, and never name the mark. A reader can then see the difference.

Each rule names the sample test class it reads. Its rows are the columns, or the rows, of that class's table.

A set in a cell means one of two things. Where the parameter is not a set, the row runs once for each value. Where the parameter is a set, the test takes the whole set as one argument.

The published table shows no parameters, so the two cells read alike. The reporter marks the cell that expands, and that mark is the one thing telling a reader the two apart. Markdown carries no marks at all, so a markdown reader cannot tell them apart.

The AsciiDoc column holds the attribute line alone. AsciiDoc opens a bulleted block below a cell that holds a collection, and that line carries the marks.

These rows read ValueSetSample: Any year | Known leap years, over a method taking an int and a Set.

expected outcome broken scenario
ScenarioColumnIn markdown?In AsciiDoc?In HTML?
A set that expands the rowAny year{2004, 2008}[.passed.value-set]<td class="cell passed value-set"><ul class="coll set"><li><span class="literal">2004</span></li><li><span class="literal">2008</span></li></ul></td>
A set the test receivesKnown leap years{2000, 2004}[.passed]<td class="cell passed"><ul class="coll set"><li><span class="literal">2000</span></li><li><span class="literal">2004</span></li></ul></td>