Generating reports inside pages using Table tables.
Since you can pass back any size result to a Table table, and since you can create a Table table that has only one row, you can generate reports.
For example:
table:counts |
This table will execute the doTable method of the counts fixture. If that method returns a table like this:
[then the resulting table will be
[report:Employees,pass:22],
[report:Managers,fail:21]
]
table:counts | |
Employees | 22 |
Managers | 21 |
Add Child Page to ReportTables