forked from DonJayamanne/pythonVSCode
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtest.tmLanguage
More file actions
185 lines (181 loc) · 6.49 KB
/
test.tmLanguage
File metadata and controls
185 lines (181 loc) · 6.49 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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>scopeName</key>
<string>testOutput.log</string>
<key>fileTypes</key>
<array>
<string>log</string>
</array>
<key>name</key>
<string>Log file</string>
<key>patterns</key>
<array>
<!-- py.test file summary -->
<!--
tests/test_another.py ..
tests/test_multi.py ....F.....F
tests/test_one.py F.
tests/test_three.py ...F
-->
<dict>
<key>match</key>
<string>.*\.py \.*F(F|\.){0,}$</string>
<key>name</key>
<string>error-token</string>
</dict>
<dict>
<key>match</key>
<string>.*\.py (s|F|\.){0,}s(s|F|\.){0,}$</string>
<key>name</key>
<string>warn-token</string>
</dict>
<!-- py.test errors -->
<!--
> assert False
E assert False
-->
<dict>
<key>match</key>
<string>^E .*</string>
<key>name</key>
<string>error-token</string>
</dict>
<!-- py.test errors -->
<!--
_________ Test_CheckMyApp.Test_NestedClassA.test_nested_class_methodC __________
self = <test_multi.Test_NestedClassA instance at 0x107deabd8>
def test_nested_class_methodC(self):
> assert False
E assert False
tests/test_multi.py:19: AssertionError
-->
<dict>
<key>match</key>
<string>.*\.py:[0-9]+: ([a-z]|[A-Z])*Error$</string>
<key>name</key>
<string>error-token</string>
</dict>
<!-- py.test errors -->
<dict>
<key>match</key>
<string> ([a-z]|[A-Z])*Error:</string>
<key>name</key>
<string>error-token</string>
</dict>
<!-- unittest error -->
<!--
test_A (test_one.Test_test1) ... FAIL
Traceback (most recent call last):
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/case.py", line 331, in run
testMethod()
File "/Users/donjayamanne/Desktop/Development/Python/Temp/MyEnvs/tests/test_one.py", line 8, in test_A
self.fail("Not implemented")
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/case.py", line 412, in fail
raise self.failureException(msg)
AssertionError: Not implemented
-->
<dict>
<key>match</key>
<string>\.\.\. FAIL$</string>
<key>name</key>
<string>error-token</string>
</dict>
<dict>
<key>match</key>
<string>\.\.\. skipped '.*'$</string>
<key>name</key>
<string>warn-token</string>
</dict>
<!-- unittest error -->
<!--
======================================================================
FAIL: test_A (test_one.Test_test1)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/donjayamanne/Desktop/Development/Python/Temp/MyEnvs/tests/test_one.py", line 8, in test_A
self.fail("Not implemented")
AssertionError: Not implemented
-->
<dict>
<key>match</key>
<string>^FAIL: .*\)$</string>
<key>name</key>
<string>error-token</string>
</dict>
<dict>
<key>match</key>
<string>^ERROR: .*</string>
<key>name</key>
<string>error-token</string>
</dict>
<dict>
<key>match</key>
<string>^([a-z]|[A-Z])*Error: .*</string>
<key>name</key>
<string>error-token</string>
</dict>
<!-- py.test summary -->
<!--
================ 8 failed, 28 passed, 2 skipped in 0.11 seconds ================
-->
<dict>
<key>match</key>
<string>^=+.* failed.*=$</string>
<key>name</key>
<string>error-token</string>
</dict>
<dict>
<key>match</key>
<string>^=+.* skipped.*=$</string>
<key>name</key>
<string>warn-token</string>
</dict>
<dict>
<key>match</key>
<string>^=+.* passed.*=$</string>
<key>name</key>
<string>comment.line</string>
</dict>
<dict>
<key>match</key>
<string>collected [0-9]+ items</string>
<key>name</key>
<string>info-token</string>
</dict>
<!-- py.test summary -->
<!--
----------------------------------------------------------------------
Ran 10 tests in 0.005s
FAILED (failures=4, skipped=2)
-->
<dict>
<key>match</key>
<string>^RAN [0-9]+ test(s){0,1} in [0-9]+\.[0-9]+s$</string>
<key>name</key>
<string>info-token</string>
</dict>
<dict>
<key>match</key>
<string>^FAILED \(.*\)$</string>
<key>name</key>
<string>error-token</string>
</dict>
<dict>
<key>match</key>
<string>^OK$</string>
<key>name</key>
<string>comment.line</string>
</dict>
<dict>
<key>match</key>
<string>^OK \(skipped=[0-9]+\)$</string>
<key>name</key>
<string>comment.line</string>
</dict>
</array>
<key>uuid</key>
<string>ab259404-3072-4cd4-a943-7cbbd32e373f</string>
</dict>
</plist>