Offers single-file mode for HTML only
All 3 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 other two formats cannot be self-contained. An AsciiDoc or markdown page carries its structure in files and links, and not in one document. The reporter therefore refuses a request for a single file in either format. It never ignores the request. The message names the format the request asked for.
expected outcome
broken scenario
| Scenario | Format | Error message? |
|---|---|---|
| The one that can | html | |
| AsciiDoc cannot | asciidoc | Single-file mode is currently supported only for the html format, not asciidoc |
| Markdown cannot | markdown | Single-file mode is currently supported only for the html format, not markdown |