Skip to content

Instantly share code, notes, and snippets.

@RaphaelAudet
Created October 20, 2020 08:14
Show Gist options
  • Save RaphaelAudet/ed78573a4d903f02465f6228a2d257e0 to your computer and use it in GitHub Desktop.
Save RaphaelAudet/ed78573a4d903f02465f6228a2d257e0 to your computer and use it in GitHub Desktop.
Python launch.json
{
"version": "0.2.0",
"configurations": [
{
"name": "test_mauco_sequences",
"type": "python",
"request": "launch",
"stopOnEntry": false,
"pythonPath": "${workspaceRoot}/venv/bin/python",
"module": "pytest",
"args": [
"tests/test_mauco_sequences.py"
],
"cwd": "${workspaceRoot}/",
"env": {},
"envFile": "${workspaceRoot}/venv"
},
{
"name": "test_mauco_layout",
"type": "python",
"request": "launch",
"stopOnEntry": false,
"pythonPath": "${workspaceRoot}/venv/bin/python",
"module": "pytest",
"args": [
"tests/test_net_layout.py"
],
"cwd": "${workspaceRoot}/",
"env": {"APP_CONFIG_FILE": "config/test.py"},
"envFile": "${workspaceRoot}/venv"
},
{
"name": "test_mauco_sheet_size",
"type": "python",
"request": "launch",
"stopOnEntry": false,
"pythonPath": "${workspaceRoot}/venv/bin/python",
"module": "pytest",
"args": [
"tests/test_sheet_size_generator.py"
],
"cwd": "${workspaceRoot}/",
"env": {"APP_CONFIG_FILE": "config/test.py"},
"envFile": "${workspaceRoot}/venv"
},
{
"name": "fefco201",
"type": "python",
"request": "launch",
"stopOnEntry": false,
"pythonPath": "${workspaceRoot}/venv/bin/python",
"module": "pytest",
"args": [
"tests/test_fefco201.py"
],
"cwd": "${workspaceRoot}/",
"env": {"APP_CONFIG_FILE": "config/test.py"},
"envFile": "${workspaceRoot}/venv"
},
{
"name": "test_main_v3",
"type": "python",
"request": "launch",
"stopOnEntry": false,
"pythonPath": "${workspaceRoot}/venv/bin/python",
"module": "pytest",
"args": [
"tests/testmain_v3.py"
],
"cwd": "${workspaceRoot}/",
"env": {"APP_CONFIG_FILE": "config/test.py"},
"envFile": "${workspaceRoot}/venv"
},
{
"name": "ALL TESTS",
"type": "python",
"request": "launch",
"stopOnEntry": false,
"pythonPath": "${workspaceRoot}/venv/bin/python",
"module": "pytest",
"args": [
"tests/test_sheet_size_generator.py",
"tests/test_net_layout.py",
"tests/testmain_v3.py",
"tests/test_mauco_sequences.py",
"tests/test_fefco201.py"
],
"cwd": "${workspaceRoot}/",
"env": {},
"envFile": "${workspaceRoot}/venv"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment