diff --git a/.vscode/launch.json b/.vscode/launch.json deleted file mode 100644 index f965872..0000000 --- a/.vscode/launch.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - // Use IntelliSense to learn about possible attributes. - // Hover to view descriptions of existing attributes. - // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 - "version": "0.2.0", - "configurations": [ - { - "name": "Setup Project", - "type": "python", - "request": "launch", - "module": "venv", - "args": ["venv"] - }, - { - "name": "Setup Requirements", - "type": "python", - "request": "launch", - "module": "pip", - "args": [ - "install", - "-r", - "requirements.txt"] - } - ] -} \ No newline at end of file diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..e5c70bf --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,33 @@ +{ + // See https://go.microsoft.com/fwlink/?LinkId=733558 + // for the documentation about the tasks.json format + "version": "2.0.0", + "tasks": [ + { + "label": "Setup step 1: python venv", + "type": "shell", + "command": "python3 -m venv ./venv", + "windows": { + "command": "python venv" + }, + "group": "Setup", + "presentation": { + "reveal": "always", + "panel": "new" + } + }, + { + "label": "Setup step 2: python requirements", + "type": "shell", + "command": "pip3 install -r requirements.txt", + "windows": { + "command": "python requirements" + }, + "group": "Setup", + "presentation": { + "reveal": "always", + "panel": "new" + } + } + ] +} \ No newline at end of file diff --git a/docs/developing/index.md b/docs/developing/index.md index 25d836c..5cf9063 100644 --- a/docs/developing/index.md +++ b/docs/developing/index.md @@ -28,9 +28,10 @@ The follow steps are only required on the first time run. * Python * Test Explorer * "Python Test Explorer" -* Click the "Run/Debug" bug icon -* Select the "Setup Project" task and click the Green play icon -* Select the "Setup Requirements" task and click the Green play icon +* From the terminal menu select Run Task +* Select "Setup step 1: python venv" then "go without scanning output" +* From the terminal menu select Run Task +* Select "Setup step 2: python requirements" then "go without scanning output" ![VS Code setup](vsc_run.png) diff --git a/pytest.ini b/pytest.ini index 572557e..b587d06 100644 --- a/pytest.ini +++ b/pytest.ini @@ -5,7 +5,7 @@ addopts = --splunk_type=docker --keepalive --splunk_hec_token=1ec3c8ac-74b3-46f2-ba44-a7c96b6ab236 - -n=8 + #-n=4 filterwarnings = ignore::DeprecationWarning junit_family=xunit1 \ No newline at end of file