TestRun class

A TestRun represents an in-progress or completed test run and provides methods to report the state of individual tests in the run.

Available extensions
Annotations
  • @JS()
  • @staticInterop
  • @anonymous

Constructors

TestRun({String? name, CancellationToken? token, bool? isPersisted, void enqueued(TestItem)?, void started(TestItem)?, void skipped(TestItem)?, void failed(TestItem, Object, [num?])?, void errored(TestItem, Object, [num?])?, void passed(TestItem, [num?])?, void appendOutput(String, [Location?, TestItem?])?, void end()?})
factory

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