items property

TestItemCollection get items

A collection of "top-level" {@link TestItem} instances, which can in turn have their own {@link TestItem.childrenchildren} to form the "test tree."

The extension controls when to add tests. For example, extensions should add tests for a file when {@link workspace.onDidOpenTextDocument} fires in order for decorations for tests within a file to be visible.

However, the editor may sometimes explicitly request children using the {@link resolveHandler} See the documentation on that method for more details.

Implementation

_i3.TestItemCollection get items => _i5.getProperty(
      this,
      'items',
    );