TestSuiteResult class

Represents a the summarized results from a single test run within a larger test suite.

Constructors

TestSuiteResult({TestDeviceInfo? deviceInfo, required String name, required int numStepsPassed, required int numStepsTotal, required List<TestReportStep> steps, String? suiteName, required int version})

Properties

deviceInfo TestDeviceInfo?
The test device info from the report
final
hashCode int
The hash code for this object.
no setterinherited
name String
The name of the test
final
numStepsPassed int
The number of steps that passed
final
numStepsTotal int
The number of steps that passed
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
steps List<TestReportStep>
The test step details from the report
final
success bool
Returns true if, and only if, all steps in the test passed
no setter
suiteName String?
The test suite name
final
version int
The version of the test
final

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

fromTestReport(TestReport report) TestSuiteResult
Creates the summarized TestSuiteResult from a larger / more detailed TestReport.