A custom format is discovered only when both its table and index templates are present
All 7 scenarios hold
A directory contributes an output format when it holds both a table.<format>.peb and an index.<format>.peb template. A lone table or index template, other files, and subdirectories are all ignored.
expected outcome
broken scenario
| Scenario | Template Files | Discovered Formats? |
|---|---|---|
| Single format |
|
|
| Multiple formats |
|
|
| Only table template |
| [] |
| Only index template |
| [] |
| Empty directory | [] | [] |
| Non-template files present |
|
|
| Subdirectories ignored |
|
|