From 3cc70ff9bc4f42e87c4cfd1ff052194752116de8 Mon Sep 17 00:00:00 2001 From: Luis Alvergue Date: Mon, 9 Dec 2024 22:45:39 +0000 Subject: [PATCH] feat: configure VS Code for pytest --- .vscode/settings.json | 3 +++ tests/__init__.py | 0 tests/pytest/__init__.py | 0 3 files changed, 3 insertions(+) create mode 100644 tests/__init__.py create mode 100644 tests/pytest/__init__.py diff --git a/.vscode/settings.json b/.vscode/settings.json index 1698f7b..d34973e 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -21,6 +21,9 @@ "editor.defaultFormatter": "ms-python.black-formatter" }, "python.languageServer": "Pylance", + "python.testing.pytestArgs": ["tests/pytest"], + "python.testing.pytestEnabled": true, + "python.testing.unittestEnabled": false, "workbench.editorAssociations": { "*.db": "sqlite-viewer.option" } diff --git a/tests/__init__.py b/tests/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/tests/pytest/__init__.py b/tests/pytest/__init__.py new file mode 100644 index 0000000..e69de29