Documentation
¶
Overview ¶
Package report renders a self-contained HTML report of an `apic run` or an `apic test`: one file, inline CSS, no JavaScript needed to read it, light and dark through prefers-color-scheme. It is the artifact to attach to a CI run or send to someone who does not read JUnit.
The output is deterministic for a given input: no random ids, and the time comes from the caller, so a report can be golden-tested.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Meta ¶
type Meta struct {
Title string // "apic run" or "apic test"
Version string // apic version
Env string // environment in effect, "" for none
Time time.Time // when the run started; zero means now
Redacted bool // --redact was in force
Project string // project root, for the header
}
Meta is what the report says about the run as a whole.