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

Leaves the blocks a page of its format can hold

All 7 scenarios hold

Pebble templates render a report, and a project can supply its own. Point the reporter at a template directory. The reporter then uses the files in that directory in place of the built-in templates, or on top of them.

The rules below read a report of one test class named Calendar. That class holds one table named Leap years, with the columns Year and Leap? and one row, 2004 and Yes. A report that small lets a rule state a whole page.

The blocks are not a property of one template. Every built-in template leaves the blocks that suit the page it writes, and a template of yours fills them by name.

A text page leaves three. An HTML page is a finished document rather than source for a site generator, so it leaves neither front matter nor a title of its own. It leaves the footer, and extra_stylesheet, which is where a style of your own goes.

The rows below fill all four blocks from one template, in every slot the reporter has: a table page and an index page in each format, and the single-file HTML page. Each block is filled with a line naming itself, and the expectation names the blocks that reached the page.

expected outcome broken scenario
ScenarioFormatPageBlocks that reach the page?
A text page
  • markdown
  • asciidoc
  • table
  • index
  • frontMatter
  • title
  • footer
An HTML pagehtml
  • table
  • index
  • single
  • footer
  • extra_stylesheet