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

Refuses an index depth below one level

All 3 scenarios hold

The indexDepth option says how many levels of nested features get an index page of their own. The reporter writes the rest of the tree onto one page. Set the option on the CLI, Maven or Gradle surface, as a number or as the keyword "infinite".

A depth of one indexes the top level alone. Nothing is shallower. The reporter therefore refuses a depth below one. It never raises the depth to one instead. The message names the depth you gave.

expected outcome broken scenario
ScenarioDepthError message?
The shallowest depth1
One below the shallowest0Index depth must be at least 1, was: 0
A negative depth-1Index depth must be at least 1, was: -1