From 8e997605950a0b886cf444d8cc6ebbc03c84bfa4 Mon Sep 17 00:00:00 2001 From: Ville Hartikainen Date: Wed, 8 Nov 2023 12:33:19 +0200 Subject: [PATCH] Add vscode task to run changed tests (#103501) --- .vscode/launch.json | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.vscode/launch.json b/.vscode/launch.json index c165e252b1a..78e0dda152b 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -22,6 +22,14 @@ "args": ["--debug", "-c", "config", "--skip-pip"], "preLaunchTask": "Compile English translations" }, + { + "name": "Home Assistant: Changed tests", + "type": "python", + "request": "launch", + "module": "pytest", + "justMyCode": false, + "args": ["--timeout=10", "--picked"], + }, { // Debug by attaching to local Home Assistant server using Remote Python Debugger. // See https://www.home-assistant.io/integrations/debugpy/