TestItem$Typings extension
Properties
-
busy
↔ bool
-
Controls whether the item is shown as "busy" in the Test Explorer view.
This is useful for showing status while discovering children.
getter/setter pair
-
canResolveChildren
↔ bool
-
Indicates whether this test item may have children discovered by resolving.
getter/setter pair
-
children
→ TestItemCollection
-
The children of this test item. For a test suite, this may contain the
individual test cases or nested suites.
no setter
-
description
↔ String?
-
Optional description that appears next to the label.
getter/setter pair
-
error
↔ dynamic
-
Optional error encountered while loading the test.
getter/setter pair
-
id
→ String
-
Identifier for the
TestItem
. This is used to correlate
test results and tests in the document with those in the workspace
(test explorer). This cannot change for the lifetime of the TestItem
,
and must be unique among its parent's direct children.
no setter
-
label
↔ String
-
Display name describing the test case.
getter/setter pair
-
parent
→ TestItem?
-
The parent of this item. It's set automatically, and is undefined
top-level items in the {@link TestController.items} and for items that
aren't yet included in another item's {@link TestItem.childrenchildren}.
no setter
-
range
↔ Range?
-
Location of the test item in its {@link TestItem.uri uri}.
getter/setter pair
-
sortText
↔ String?
-
A string that should be used when comparing this item
with other items. When
falsy
the {@link TestItem.label label}
is used.
getter/setter pair
-
tags
↔ List<TestTag>
-
Tags associated with this test item. May be used in combination with
{@link TestRunProfile.tag tags}, or simply as an organizational feature.
getter/setter pair
-
uri
→ Uri?
-
URI this
TestItem
is associated with. May be a file or directory.
no setter