Last active
February 13, 2019 01:22
-
-
Save eteubert/64c520eb13ffad5ebfc981b8b4aa00be to your computer and use it in GitHub Desktop.
VS Code: Task to run Elixir tests
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"version": "2.0.0", | |
"tasks": [{ | |
"group": { | |
"kind": "test", | |
"isDefault": true | |
}, | |
"label": "elixir: run stale tests", | |
"type": "shell", | |
"command": "mix test --stale", | |
"problemMatcher": [], | |
"presentation": { | |
"clear": true | |
} | |
}, { | |
"group": "test", | |
"label": "elixir: run all tests", | |
"type": "shell", | |
"command": "mix test", | |
"problemMatcher": [], | |
"presentation": { | |
"clear": true | |
} | |
}, | |
{ | |
"group": "test", | |
"label": "elixir: run test at cursor", | |
"type": "shell", | |
"command": "mix test --only line:${lineNumber} ${relativeFile}", | |
"problemMatcher": [], | |
"presentation": { | |
"clear": true | |
} | |
} | |
], | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment