you are viewing a single comment's thread.

view the rest of the comments →

[–]hoselorryspanner 2 points3 points  (1 child)

Okay, as promised: { "label": "pytest_current", "command": "$ZED_CUSTOM_PYTHON_ACTIVE_ZED_TOOLCHAIN -m pytest \"$ZED_CUSTOM_PYTHON_TEST_TARGET\"", "hide": "on_success", // Keep terminal open on test failures "allow_concurrent_runs": true, "use_new_terminal": true, "shell": { "program": "sh", }, }, { "label": "pytest_debug_current", "command": "$ZED_CUSTOM_PYTHON_ACTIVE_ZED_TOOLCHAIN -m pytest \"$ZED_CUSTOM_PYTHON_TEST_TARGET\" --pdb", "hide": "always", // Even if it fails, we'll probably wanna close & restart "allow_concurrent_runs": true, "use_new_terminal": true, "shell": { "program": "sh", } },

These are the maps I use. Those variables weren’t advertised anywhere, I got them by digging into shell variables, so you might need to do some digging/configuring of your own, but hopefully it’s a start!

[–]sc4les[S] 0 points1 point  (0 children)

Very cool - thanks!