TestRunRequest class
A TestRunRequest is a precursor to a {@link TestRun}, which in turn is created by passing a request to {@link TestController.createTestRun}. The TestRunRequest contains information about which tests should be run, which should not be run, and how they are run (via the {@link TestRunRequest.profileprofile}).
In general, TestRunRequests are created by the editor and pass to
{@link TestRunProfile.runHandler}, however you can also create test
requests and runs outside of the runHandler
.
- Available extensions
- Annotations
-
- @JS()
- @staticInterop
Constructors
-
TestRunRequest([List<
TestItem> ? include, List<TestItem> ? exclude, TestRunProfile? profile, bool? continuous]) -
factory
Properties
- continuous → bool
-
Available on TestRunRequest, provided by the TestRunRequest$Typings extension
Whether the profile should run continuously as source code changes. Only relevant for profiles that set {@link TestRunProfile.supportsContinuousRun}.no setter -
exclude
→ List<
TestItem> ? -
Available on TestRunRequest, provided by the TestRunRequest$Typings extension
An array of tests the user has marked as excluded from the test included in this run; exclusions should apply after inclusions.no setter - hashCode → int
-
The hash code for this object.
no setterinherited
-
include
→ List<
TestItem> ? -
Available on TestRunRequest, provided by the TestRunRequest$Typings extension
A filter for specific tests to run. If given, the extension should run all of the included tests and all their children, excluding any tests that appear in {@link TestRunRequest.exclude}. If this property is undefined, then the extension should simply run all tests.no setter - profile → TestRunProfile?
-
Available on TestRunRequest, provided by the TestRunRequest$Typings extension
The profile used for this request. This will always be defined for requests issued from the editor UI, though extensions may programmatically create requests not associated with any profile.no setter - 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