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.
| Scenario | Format | Page | Blocks that reach the page? |
|---|---|---|---|
| A text page |
|
|
|
| An HTML page | html |
|
|