-
Notifications
You must be signed in to change notification settings - Fork 33
Expand file tree
/
Copy pathsublime-package.json
More file actions
91 lines (91 loc) · 3.41 KB
/
sublime-package.json
File metadata and controls
91 lines (91 loc) · 3.41 KB
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
{
"contributions": {
"settings": [
{
"file_patterns": [
"unittesting.json"
],
"schema": {
"allowComments": true,
"allowTrailingCommas": true,
"additionalProperties": false,
"properties": {
"tests_dir": {
"type": "string",
"default": "tests",
"markdownDescription": "The name of the directory containing the tests."
},
"pattern": {
"type": "string",
"default": "test*.py",
"markdownDescription": "The pattern to discover tests."
},
"deferred": {
"type": "boolean",
"default": true,
"markdownDescription": "Whether to use deferred test runner.",
},
"verbosity": {
"enum": [0, 1, 2],
"enumDescriptions": ["quiet", "normal", "verbose"],
"default": 2,
"markdownDescription": "Verbosity level.",
},
"warnings": {
"enum": ["default", "error", "ignore", "always", "module", "once"],
"enumDescriptions": [
"print the first occurrence of matching warnings for each location (module + line number) where the warning is issued",
"turn matching warnings into exceptions",
"never print matching warnings",
"always print matching warnings",
"print the first occurrence of matching warnings for each module where the warning is issued (regardless of line number)",
"print only the first occurrence of matching warnings, regardless of location"
],
"default": "default",
"markdownDescription": "The warnings filter controls whether warnings are ignored, displayed, or turned into errors (raising an exception).",
},
"output": {
"type": ["string", "null"],
"markdownDescription": "Name of the test output instead of showing in the panel.",
},
"reload_package_on_testing": {
"type": "boolean",
"default": true,
"markdownDescription": "Reloading package will increase coverage rate.",
},
"coverage": {
"type": "boolean",
"default": false,
"markdownDescription": "Create coverage report.",
},
"coverage_on_worker_thread": {
"type": "boolean",
"default": false,
"markdownDescription": "(experimental)",
},
"generate_html_report": {
"type": "boolean",
"default": false,
"markdownDescription": "Generate html report for coverage.",
},
"generate_xml_report": {
"type": "boolean",
"default": false,
"markdownDescription": "Generate xml report for coverage.",
},
"capture_console": {
"type": "boolean",
"default": false,
"markdownDescription": "Capture stdout and stderr in the test output.",
},
"failfast": {
"type": "boolean",
"default": false,
"markdownDescription": "Stop early if a test fails.",
},
}
}
},
]
}
}