• V vscode
  • Информация о проекте
    • Информация о проекте
    • Активность
    • Метки
    • Участники
  • Репозиторий
    • Репозиторий
    • Файлы
    • Коммиты
    • Ветки
    • Теги
    • Участники
    • Диаграмма
    • Сравнение
  • Задачи 0
    • Задачи 0
    • Список
    • Доски
    • Спринты
  • Запросы на слияние 0
    • Запросы на слияние 0
  • CI/CD
    • CI/CD
    • Конвейеры
    • Задания
    • Расписания
  • Развертывания
    • Развертывания
    • Окружения
    • Релизы
  • Пакеты и реестры
    • Пакеты и реестры
    • Реестр пакетов
    • Реестр контейнеров
  • Мониторинг
    • Мониторинг
    • Инциденты
  • Аналитика
    • Аналитика
    • Поток ценности
    • CI/CD
    • Репозиторий
  • Wiki
    • Wiki
  • Сниппеты
    • Сниппеты
  • Активность
  • Диаграмма
  • Создать новую задачу
  • Задания
  • Коммиты
  • Доски с задачами
Свернуть панель
  • code
  • vscode
  • Репозиторий
Выбрать ветку (тег)
  • vscode
  • .vscode
  • launch.json
Найти файл Показать деталиИсторияПостоянная ссылка
  • Connor Peet's avatar
    testing: improve test children API
    · 581ff12c
    Connor Peet создал Июл 14, 2021
    This changeset results from the discussion in and fixes #126987.
    Migration for these changes should take about 15-20 minutes.
    
    - `createTestItem` no longer takes a parent. Instead, it creates a free-
      floating test item, which can be added as a child of a parent.
    - The `TestItem.children` is now a `TestItemCollection`, a set-like
      interface that also allows replacing items (intelligently diffing
    	them internally) wholesale. This removes the need for the "generation
    	counter" used in samples previously.
    - There is no longer a `root` on the test controller, but instead an
      `items` property which is the same `TestItemCollection`
    - The `tests` in the `TestRunRequest` has been replaced with an `include`
      property. If undefined, the extension should run all tests. (Since
    	there is no longer a root to reference).
    
    Here's some example migrations:
    
    - https://github.com/microsoft/vscode-extension-samples/commit/3fad3d66c110107946f827daedd7759cad7c4358
    - https://github.com/microsoft/vscode-selfhost-test-provider/commit/3aff74631605dfd4120b98014f54ff744f292fe0
    581ff12c