TestArtifactWriter class

Writes run artifacts to disk: a JSON, JUnit XML, and HTML report, plus a PNG per failed test that captured a screenshot.

Uses dart:io, so it is NOT web-safe and lives behind the separate package:in_app_automation/io.dart entrypoint rather than the core library.

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

write(List<TestResult> results, {String directory = 'build/automation-reports'}) Future<String>
Writes reports (and any failure screenshots) into directory, creating it if needed. Returns the absolute directory path.