Package io.karatelabs.output
Class HtmlReport
java.lang.Object
io.karatelabs.output.HtmlReport
Fluent API for HTML report aggregation across multiple test runs.
This class allows merging JSON Lines files from different test runs to create a combined HTML report. This is useful for aggregating results from:
- Parallel test shards
- Retry runs
- Different environments
Example usage:
HtmlReport.aggregate()
.json("target/run1/karate-results.jsonl")
.json("target/run2/karate-results.jsonl")
.outputDir("target/combined-report")
.generate();
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder for aggregating multiple JSON Lines files into a single HTML report. -
Method Summary
Modifier and TypeMethodDescriptionstatic HtmlReport.AggregateBuilderStart building an aggregate report.
-
Method Details
-
aggregate
Start building an aggregate report.- Returns:
- a new aggregate builder
-