|
| 1 | +{ |
| 2 | + // Use IntelliSense to learn about possible attributes. |
| 3 | + // Hover to view descriptions of existing attributes. |
| 4 | + // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 |
| 5 | + "version": "0.2.0", |
| 6 | + "configurations": [ |
| 7 | + { |
| 8 | + "name": "Python: Current File", |
| 9 | + "type": "python", |
| 10 | + "request": "launch", |
| 11 | + "program": "${file}", |
| 12 | + "console": "integratedTerminal", |
| 13 | + "justMyCode": true, |
| 14 | + "cwd": "${workspaceFolder}", |
| 15 | + "env": { |
| 16 | + "PYTHONPATH": "${workspaceFolder}", |
| 17 | + }, |
| 18 | + }, |
| 19 | + { |
| 20 | + "name": "Python: Specific File", |
| 21 | + "type": "python", |
| 22 | + "request": "launch", |
| 23 | + "program": "${workspaceFolder}/test.py", |
| 24 | + "console": "integratedTerminal", |
| 25 | + "justMyCode": true, |
| 26 | + "cwd": "${workspaceFolder}", |
| 27 | + "env": { |
| 28 | + "PYTHONPATH": "${workspaceFolder}", |
| 29 | + }, |
| 30 | + }, |
| 31 | + { |
| 32 | + "name": "Python: Python Tests", |
| 33 | + "type": "python", |
| 34 | + "request": "launch", |
| 35 | + "module": "pytest", |
| 36 | + "console": "integratedTerminal", |
| 37 | + "justMyCode": true, |
| 38 | + "cwd": "${workspaceFolder}", |
| 39 | + "args": [ |
| 40 | + // If you want to run a specific test only |
| 41 | + // "./tests/test_etl.py::TestAddArgumentImports::test_add_argument_imports" |
| 42 | + "./tests/test_etl.py::TestCreateEngineConnection::test_create_engine_connection" |
| 43 | + ], |
| 44 | + "env": { |
| 45 | + "PYTHONPATH": "${workspaceFolder}", |
| 46 | + }, |
| 47 | + }, |
| 48 | + { |
| 49 | + "name": "Python: Yaml Test 1", |
| 50 | + "type": "python", |
| 51 | + "request": "launch", |
| 52 | + "module": "pandas_etl", |
| 53 | + "console": "integratedTerminal", |
| 54 | + "args": ["--file", "${workspaceFolder}/tests/mockup.yaml"], |
| 55 | + "justMyCode": true, |
| 56 | + "cwd": "${workspaceFolder}", |
| 57 | + "env": { |
| 58 | + "PYTHONPATH": "${workspaceFolder}", |
| 59 | + }, |
| 60 | + }, |
| 61 | + { |
| 62 | + "name": "Python: Yaml Test 2", |
| 63 | + "type": "python", |
| 64 | + "request": "launch", |
| 65 | + "module": "pandas_etl", |
| 66 | + "console": "integratedTerminal", |
| 67 | + "args": ["--file", "${workspaceFolder}/tests/mockup4.yml", "--var", "varName1=varValue1",], |
| 68 | + "justMyCode": true, |
| 69 | + "cwd": "${workspaceFolder}", |
| 70 | + "env": { |
| 71 | + "PYTHONPATH": "${workspaceFolder}", |
| 72 | + }, |
| 73 | + }, |
| 74 | + { |
| 75 | + "name": "Python: Yaml Test 3", |
| 76 | + "type": "python", |
| 77 | + "request": "launch", |
| 78 | + "module": "pandas_etl", |
| 79 | + "console": "integratedTerminal", |
| 80 | + "args": ["--file", "${workspaceFolder}/tests/etl_definition_folder/pipelines/pandas_pipeline_recovery_1.yaml"], |
| 81 | + "justMyCode": true, |
| 82 | + "cwd": "${workspaceFolder}", |
| 83 | + "env": { |
| 84 | + "PYTHONPATH": "${workspaceFolder}", |
| 85 | + }, |
| 86 | + }, |
| 87 | + ] |
| 88 | +} |
0 commit comments