1// Taken from https://gist.github.com/josevalim/2e4f60a14ccd52728e3256571259d493#gistcomment-4995881
2[
3 {
4 "label": "mix test",
5 "command": "mix",
6 "args": ["test"]
7 },
8 {
9 "label": "mix test --failed",
10 "command": "mix",
11 "args": ["test", "--failed"]
12 },
13 {
14 "label": "mix test $ZED_RELATIVE_FILE",
15 "command": "mix",
16 "args": ["test", "$ZED_RELATIVE_FILE"],
17 "tags": ["elixir-module-test"]
18 },
19 {
20 "label": "mix test $ZED_RELATIVE_FILE:$ZED_ROW",
21 "command": "mix",
22 "args": ["test", "$ZED_RELATIVE_FILE:$ZED_ROW"],
23 "tags": ["elixir-test"]
24 },
25 {
26 "label": "Elixir: break line",
27 "command": "iex",
28 "args": ["-S", "mix", "test", "-b", "$ZED_RELATIVE_FILE:$ZED_ROW"]
29 }
30]