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

Keeps a comment in the array, in place and unchanged

All 5 scenarios hold

An entry commented out to disable a scenario stays where it is, byte for byte. So does a note written between entries. Neither takes part in the alignment of the entries around it. A comment written after an entry stays on that entry's line.

expected outcome broken scenario
ScenarioSource linesConfigured indentFormatted lines?
Commented-out entry
  • @TableTest({
  • "a|b",
  • // "9 | 9",
  • "10|2"
  • })
space:4
  • @TableTest({
  • "a | b",
  • // "9 | 9",
  • "10 | 2"
  • })
Block-commented entry
  • @TableTest({
  • "a|b",
  • /* "9 | 9", */
  • "10|2"
  • })
space:4
  • @TableTest({
  • "a | b",
  • /* "9 | 9", */
  • "10 | 2"
  • })
A note between entries
  • @TableTest({
  • "name|age",
  • // boundary cases below
  • "Alice|30"
  • })
space:4
  • @TableTest({
  • "name | age",
  • // boundary cases below
  • "Alice | 30 "
  • })
Comment after an entry
  • @TableTest({
  • "name|age", // header
  • "Alice|30" // adult
  • })
space:4
  • @TableTest({
  • "name | age", // header
  • "Alice | 30 " // adult
  • })
Nothing but a comment
  • @TableTest({ /* "a|b" */ })
space:4
  • @TableTest({ /* "a|b" */ })