From 5f7976011d107fc40586599f3c3d5186c0bc9d7c Mon Sep 17 00:00:00 2001 From: Dmytro Struk <13853051+dmytrostruk@users.noreply.github.com> Date: Wed, 17 Sep 2025 23:29:01 -0700 Subject: [PATCH] Updated DEV_SETUP.md --- python/DEV_SETUP.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/python/DEV_SETUP.md b/python/DEV_SETUP.md index a041712443..ad33153d09 100644 --- a/python/DEV_SETUP.md +++ b/python/DEV_SETUP.md @@ -75,6 +75,23 @@ Open the `python` folder in [VSCode](https://code.visualstudio.com/docs/editor/w Open any of the `.py` files in the project and run the `Python: Select Interpreter` command from the command palette. Make sure the virtual env (default path is `.venv`) created by `uv` is selected. +### Configuring Unit Testing in VSCode + +- We have removed the strict dependency on forcing `pytest` usage via the `.vscode/settings.json` file. +- Developers are free to set up unit tests using their preferred framework, whether it is `pytest` or `unittest`. +- If needed, adjust VSCode's local `settings.json` (accessed via the Command Palette(`Ctrl+Shift+P`) and type `Preferences: Open User Settings (JSON)`) to configure the test framework. For example: + + ```json + "python.testing.unittestEnabled": false, + "python.testing.pytestEnabled": true, + ``` + + Or, for `unittest`: + + ```json + "python.testing.unittestEnabled": true, + "python.testing.pytestEnabled": false, + ## LLM setup Make sure you have an