forked from gerardroche/sublime-phpunit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDefault.sublime-commands
68 lines (66 loc) · 4.41 KB
/
Default.sublime-commands
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
[
{
"caption": "PHPUnit: Run All Tests",
"command": "phpunit_run_all_tests"
},
{
"caption": "PHPUnit: Run Last Test",
"command": "phpunit_run_last_test"
},
{
"caption": "PHPUnit: Run Single Test",
"command": "phpunit_run_single_test"
},
{
"caption": "PHPUnit: Show Test Results",
"command": "show_panel",
"args": {
"panel": "output.exec"
}
},
{
"caption": "PHPUnit: Cancel Test Run",
"command": "exec",
"args": {
"kill": true
}
},
{
"caption": "PHPUnit: Open HTML Code Coverage in Browser",
"command": "phpunit_open_html_code_coverage_in_browser"
},
{
"caption": "PHPUnit: Switch Test Case / Class Under Test",
"command": "phpunit_switch_file"
},
{ "caption": "PHPUnit: Toggle Option --debug", "command": "phpunit_toggle_long_option", "args": { "option": "debug" } }, // Display debugging information during test execution.
{ "caption": "PHPUnit: Toggle Option --disallow-test-output", "command": "phpunit_toggle_long_option", "args": { "option": "disallow-test-output" } }, // Be strict about output during tests.
{ "caption": "PHPUnit: Toggle Option --disallow-todo-tests", "command": "phpunit_toggle_long_option", "args": { "option": "disallow-todo-tests" } }, // Disallow @todo-annotated tests.
{ "caption": "PHPUnit: Toggle Option --enforce-time-limit", "command": "phpunit_toggle_long_option", "args": { "option": "enforce-time-limit" } }, // Enforce time limit based on test size.
{ "caption": "PHPUnit: Toggle Option --no-coverage", "command": "phpunit_toggle_long_option", "args": { "option": "no-coverage" } }, // Ignore code coverage configuration.
{ "caption": "PHPUnit: Toggle Option --report-useless-tests", "command": "phpunit_toggle_long_option", "args": { "option": "report-useless-tests" } }, // Be strict about tests that do not test anything.
{ "caption": "PHPUnit: Toggle Option --stop-on-error", "command": "phpunit_toggle_long_option", "args": { "option": "stop-on-error" } }, // Stop execution upon first error.
{ "caption": "PHPUnit: Toggle Option --stop-on-failure", "command": "phpunit_toggle_long_option", "args": { "option": "stop-on-failure" } }, // Stop execution upon first error or failure.
{ "caption": "PHPUnit: Toggle Option --stop-on-incomplete", "command": "phpunit_toggle_long_option", "args": { "option": "stop-on-incomplete" } }, // Stop execution upon first incomplete test.
{ "caption": "PHPUnit: Toggle Option --stop-on-risky", "command": "phpunit_toggle_long_option", "args": { "option": "stop-on-risky" } }, // Stop execution upon first risky test.
{ "caption": "PHPUnit: Toggle Option --stop-on-skipped", "command": "phpunit_toggle_long_option", "args": { "option": "stop-on-skipped" } }, // Stop execution upon first skipped test.
{ "caption": "PHPUnit: Toggle Option --strict-coverage", "command": "phpunit_toggle_long_option", "args": { "option": "strict-coverage" } }, // Be strict about unintentionally covered code.
{ "caption": "PHPUnit: Toggle Option --strict-global-state", "command": "phpunit_toggle_long_option", "args": { "option": "strict-global-state" } }, // Be strict about changes to global state
{ "caption": "PHPUnit: Toggle Option --tap", "command": "phpunit_toggle_long_option", "args": { "option": "tap" } }, // Report test execution progress in TAP format.
{ "caption": "PHPUnit: Toggle Option --testdox", "command": "phpunit_toggle_long_option", "args": { "option": "testdox" } }, // Report test execution progress in TestDox format.
{ "caption": "PHPUnit: Toggle Option --verbose", "command": "phpunit_toggle_long_option", "args": { "option": "verbose" } }, // Output more verbose information.
{
"caption": "Preferences: PHPUnit Settings – Default",
"command": "open_file",
"args": {
"file": "${packages}/phpunit/Preferences.sublime-settings"
}
},
{
"caption": "Preferences: PHPUnit Settings – User",
"command": "open_file",
"args": {
"file": "${packages}/User/Preferences.sublime-settings"
}
}
]