createTestItem
abstract fun createTestItem(id: String, label: String, uri: Uri = definedExternally): TestItem(source)
Creates a new managed TestItem instance. It can be added into the TestItem.children of an existing item, or into the TestController.items.
Parameters
id
Identifier for the TestItem. The test item's ID must be unique in the TestItemCollection it's added to.
label
Human-readable label of the test item.
uri
URI this TestItem is associated with. May be a file or directory.