An item shown in the "test explorer" view.
TestItem can represent either a test suite or a test itself, since
they both have similar capabilities.
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
and must be unique among its parent's direct children.
TestItem is associated with. May be a file or directory.
The children of this test item. For a test suite, this may contain the individual test cases or nested suites.
Indicates whether this test item may have children discovered by resolving.
If true, this item is shown as expandable in the Test Explorer view and expanding the item will cause TestController.resolveHandler to be invoked with the item.
Controls whether the item is shown as "busy" in the Test Explorer view. This is useful for showing status while discovering children.
Display name describing the test case.
Optional description that appears next to the label.
Location of the test item in its uri.
This is only meaningful if the
uri points to a file.
Optional error encountered while loading the test.
Note that this is not a test result and should only be used to represent errors in test discovery, such as syntax errors.