-
Notifications
You must be signed in to change notification settings - Fork 0
/
Tests.py
189 lines (189 loc) · 5.44 KB
/
Tests.py
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
186
187
188
189
from python_helper import TestHelper
TestHelper.run(__file__, inspectGlobals=False)
# TestHelper.run(
# __file__,
# runOnly = [
# # 'ObjectHelperTest.basicMethods'
# # , 'ObjectHelperTest.mustAssertEquals'
# # , 'ObjectHelperTest.mustIgnoreKeyCorrectly'
# # , 'ObjectHelperTest.equal_whenListOfDictionaries_ignoreCollectionOrder'
# # , 'ObjectHelperTest.equal_whenObjects'
# # , 'ObjectHelperTest.sortIt'
# # , 'ObjectHelperTest.sortIt_whenNotEquals'
# # # , 'ObjectHelperTest.sortIt_whenSortedVisitedIdInstances'
# # , 'ObjectHelperTest.equals_whenNotEquals_simpleSet'
# # , 'ObjectHelperTest.equal_whenDictionary'
# # , 'ObjectHelperTest.equal_whenSets'
# # , 'ObjectHelperTest.equal_whenRecursive'
# 'ObjectHelperTest.equals_whenDateTime'
# ]
# )
# TestHelper.run(
# __file__,
# runOnly = [
# 'ReflectionHelperTest.getCompleteInstanceNameList'
# , 'ReflectionHelperTest.getInstanceNameList'
# , 'ReflectionHelperTest.getInstanceName'
# , 'ReflectionHelperTest.getInstanceName_whenExpression'
# ]
# )
# TestHelper.run(
# __file__,
# runOnly = [
# 'DateTimeHelperTest.isNativeDateTime'
# ]
# )
# TestHelper.run(
# __file__,
# runOnly = [
# 'ModuleImportsTest.allImportedSuccesfuly'
# ],
# ignoreModules = [
# 'ModuleImportsTest'
# ]
# )
# TestHelper.run(__file__,
# testStatus = True,
# logStatus = True,
# logResult = True,
# inspectGlobals=False
# )
# TestHelper.run(
# __file__,
# runOnly = [
# 'DateTimeHelperTest.plusMonths',
# 'DateTimeHelperTest.minusMonths'
# ]
# )
# TestHelper.run(
# __file__,
# runOnly = [
# # 'ObjectHelperTest.equal_whenListOfDictionaries',
# 'ObjectHelperTest.equal_whenSets'
# ]
# )
# TestHelper.run(
# __file__,
# runOnly = [
# # 'SettingHelperTest.mustHandleLateValue',
# # 'SettingHelperTest.updateActiveEnvironment_withSuccess',
# # 'SettingHelperTest.mustReadSettingFile',
# # 'SettingHelperTest.mustNotReadSettingFile',
# # 'SettingHelperTest.mustPrintSettingTree',
# # 'SettingHelperTest.mustHandleSettingValueInFallbackSettingTree',
# # 'SettingHelperTest.mustHandleSettingValueInFallbackSettingTree_whenFallbackSettingFilePathIsPassedInsted',
# # 'SettingHelperTest.getSettingTree_whenIsSettingKeyActuallyContainsSettingKey',
# # 'SettingHelperTest.getSettingTree_fallbackPriority',
# # 'SettingHelperTest.getSettingTree_otherApplication',
# # 'SettingHelperTest.getSettingTree_whenThereAreNoneValuesAllOverThePlace',
# # 'SettingHelperTest.getSettingTree_getBooleanSetting',
# # 'SettingHelperTest.getSettingTree_settingTreeHasAllDefaultSettingTreeValues'
# ],
# # testStatus = False,
# # logStatus = False,
# # logResult = True,
# # inspectGlobals = False
# )
# TestHelper.run(
# __file__,
# times = 2,
# testStatus = False,
# logStatus = True,
# logResult = True,
# inspectGlobals = True
# )
# TestHelper.run(
# __file__,
# # times = 10,
# runOnly = [
# 'LogHelperTest.mustLogWithColors',
# 'LogHelperTest.mustLogWithoutColors',
# 'LogHelperTest.mustLogWithoutColorsAsWell',
# 'LogHelperTest.mustLogEnvironmentSettings',
# 'LogHelperTest.mustLogPretyPythonWithoutColors',
# 'LogHelperTest.mustLogPretyPythonWithColors',
# 'LogHelperTest.mustLogPretyJsonWithColors',
# 'LogHelperTest.mustPrintMessageLog_withColors'
# ],
# testStatus = False,
# logStatus = False,
# logResult = False,
# inspectGlobals = False
# )
# TestHelper.run(
# __file__,
# # times = 100,
# runOnly = [
# # 'StringHelperTest.prettyJson_withSucces',
# # 'StringHelperTest.prettyPython_withSucces',
# # 'StringHelperTest.prettifyPerformance',
# # 'StringHelperTest.toText_infiniteLoop'
# ],
# testStatus = False,
# logStatus = False,
# logResult = True,
# inspectGlobals = False
# )
# TestHelper.run(
# __file__,
# times = 1,
# runOnly = [
# 'ModuleImportsTest.allImportedSuccesfuly'
# ],
# testStatus = False,
# logStatus = False,
# logResult = False,
# inspectGlobals = False
# )
# TestHelper.run(
# __file__,
# times = 1,
# runOnly = [
# 'SettingHelperTest.getSettingTree_fallbackPriority'
# ],
# settingStatus = False,
# testStatus = False,
# logStatus = False,
# logResult = False,
# inspectGlobals = False
# )
# TestHelper.run(
# __file__,
# times = 1,
# runOnly = [
# 'MethodAnnotationTest.Function_withSuccess'
# ],
# testStatus = False,
# logStatus = False,
# logResult = False,
# inspectGlobals = False
# )
# TestHelper.run(
# __file__,
# times = 1,
# runOnly = [
# 'LogHelperTest.mustLogWithColors'
# ],
# testStatus = False,
# logStatus = False,
# logResult = False,
# inspectGlobals = True
# )
# TestHelper.run(
# __file__,
# runOnly = [
# 'ReflectionHelperTest.getName_manyCases'
# ]
# )
# TestHelper.run(
# __file__,
# runOnly = [
# 'EnvironmentHelperTest.osIdentifierTest'
# ]
# )
# TestHelper.run(
# __file__,
# runOnly = [
# 'SettingHelperTest.getSettingTree_whenThereAreNoneValuesAllOverThePlace'
# ]
# )