Inlines everything the one file would otherwise reach for
All 5 scenarios hold
A report is normally a directory of pages. Single-file mode writes it as one self-contained HTML file instead. You can mail that file, attach it to a build, or open it from a memory stick with nothing beside it.
The rules below read a report of one test class, org.example.CalendarTest, with two tables: leapYear and monthLength.
The file holds everything the report needs. It links no stylesheet and no script. It fetches no address. The default report writes the search index as a script beside the pages. This file holds that index inside it. The file therefore works offline, and it survives a move on its own.
expected outcome
broken scenario
| Scenario | Text | Found in the file? |
|---|---|---|
| An insecure address | http:// | false |
| A secure address | https:// | false |
| A linked script | <script src= | false |
| The search index as a sibling file | tabletest-search-index.js | false |
| The search index, inlined | window.TableTestSearchIndex | true |