Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface TestItemCollection

Collection of test items, found in TestItem.children and TestController.items.

Hierarchy

  • Iterable<[id: string, testItem: TestItem]>
    • TestItemCollection

Index

Properties

size: number

Gets the number of items in the collection.

stubbed

Methods

  • delete(itemId: string): void
  • get(itemId: string): undefined | TestItem
  • Efficiently gets a test item by ID, if it exists, in the children.

    stubbed

    Parameters

    • itemId: string

      Item ID to get.

    Returns undefined | TestItem

    The found item or undefined if it does not exist.

  • replace(items: readonly TestItem[]): void