TestRunner class

Constructors

TestRunner({TestGroupGenerator? generator, bool loggerEnabled = true})

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
run({required int shardCount, required String testPath, int? shardIndex, int? seed, String? resultPath, bool? isCoverageEnabled, String? coveragePath, bool? keepGeneratedTestGroups}) Future<List<TestResult>>
Generates test group files and runs tests. Returns list of TestResult for each test group run.
runTests({required int shardIndex, required int totalShardCount, required String filePath, required String? resultsFilePath, bool? isCoverageEnabled, String? coveragePath, bool? keepGeneratedTestGroups}) Future<TestResult>
Runs tests for a single test group file. Returns TestResult for the test group run.
toString() String
A string representation of this object.
inherited

Operators

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