TestReportDocument class

Builds and writes the suite report document (results.json.gz).

Constructors

TestReportDocument()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

buildComplete(EnsembleTestRunResult result, {required String artifactRoot, required String displayRoot, int? wallTimeMs}) Map<String, dynamic>
Full document after the suite finishes.
buildLoading({int? wallTimeMs}) Map<String, dynamic>
Seed document while the suite is still running.
cleanTransientArtifacts(String artifactRoot) → void
Removes runner intermediates that are no longer needed after results write.
readResults(Directory reportDir) Map<String, dynamic>
Reads and expands resultsFileName for tests and tooling.
writeResults(Directory reportDir, Map<String, dynamic> document) → void
Writes optimized, gzip-compressed results under reportDir.

Constants

resultsFileName → const String