TestController class

Entry point to discover and execute tests. It contains {@link TestController.items} which are used to populate the editor UI, and is associated with {@link TestController.createRunProfilerun profiles} to allow for tests to be executed.

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

Constructors

TestController({String? id, String? label, TestItemCollection? items, FutureOr<void> resolveHandler([TestItem?])?, FutureOr<void> refreshHandler(CancellationToken)?, TestRunProfile createRunProfile(String, TestRunProfileKind, FutureOr<void> (TestRunRequest, CancellationToken), [bool?, TestTag?, bool?])?, TestRun createTestRun(TestRunRequest, [String?, bool?])?, TestItem createTestItem(String, String, [Uri?])?, void invalidateTestResults([Object?])?, void dispose()?})
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