A table is a header row followed by at least one data row

All 4 scenarios hold

The first row read becomes the header; every row after it is a data row, and each row divides into one cell per header. The Input column lists the source one line per element.

expected outcome broken scenario
ScenarioInputHeaders?Data rows?
One data row
  • a | b
  • 1 | 2
  • a
  • b
    • 1
    • 2
Two data rows
  • a | b
  • 1 | 2
  • 3 | 4
  • a
  • b
    • 1
    • 2
    • 3
    • 4
Single column
  • a
  • 1
  • 2
  • a
    • 1
    • 2
Three columns
  • a | b | c
  • 1 | 2 | 3
  • a
  • b
  • c
    • 1
    • 2
    • 3