actir 1.2.2 → 1.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.idea/.name +1 -0
- data/.idea/.rakeTasks +7 -0
- data/.idea/actir.iml +33 -0
- data/.idea/encodings.xml +6 -0
- data/.idea/misc.xml +14 -0
- data/.idea/modules.xml +8 -0
- data/.idea/vcs.xml +6 -0
- data/.idea/workspace.xml +406 -0
- data/lib/actir/parallel_tests/cli.rb +2 -1
- data/lib/actir/parallel_tests/test/rerunner.rb +2 -25
- data/lib/actir/parallel_tests/test/result.rb +13 -10
- data/lib/actir/version.rb +1 -1
- metadata +10 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3d43f4157e21e7fbb2715f2f8ffcf0801afdc455
|
|
4
|
+
data.tar.gz: 38a93e0c20727f796c2cdc788149958c41b9409e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 63db5be91712d44bb0f53646a9b2463f1a91571d860e11f20d750dab6d8d811da190746178b32841c54d379bc580495d1fe55a4722bd194520d0b111ede624ba
|
|
7
|
+
data.tar.gz: 9dcb2cb9035f12bfadf58bcdb63a8ef1ce1711e225128f4b12cba995c86b3a32916fad74a30fda07c930e25f411cbb3ad26445ddb2571040e4b526eb4b82bc54
|
data/.idea/.name
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
actir
|
data/.idea/.rakeTasks
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<Settings><!--This file was automatically generated by Ruby plugin.
|
|
3
|
+
You are allowed to:
|
|
4
|
+
1. Remove rake task
|
|
5
|
+
2. Add existing rake tasks
|
|
6
|
+
To add existing rake tasks automatically delete this file and reload the project.
|
|
7
|
+
--><RakeGroup description="" fullCmd="" taksId="rake"><RakeTask description="" fullCmd="gem" taksId="gem" /><RakeTask description="" fullCmd="install" taksId="install" /><RakeTask description="" fullCmd="package" taksId="package" /><RakeTask description="" fullCmd="uninstall" taksId="uninstall" /></RakeGroup></Settings>
|
data/.idea/actir.iml
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<module type="RUBY_MODULE" version="4">
|
|
3
|
+
<component name="FacetManager">
|
|
4
|
+
<facet type="gem" name="Ruby Gem">
|
|
5
|
+
<configuration>
|
|
6
|
+
<option name="GEM_APP_ROOT_PATH" value="$MODULE_DIR$" />
|
|
7
|
+
<option name="GEM_APP_TEST_PATH" value="" />
|
|
8
|
+
<option name="GEM_APP_LIB_PATH" value="$MODULE_DIR$/lib" />
|
|
9
|
+
</configuration>
|
|
10
|
+
</facet>
|
|
11
|
+
</component>
|
|
12
|
+
<component name="NewModuleRootManager">
|
|
13
|
+
<content url="file://$MODULE_DIR$">
|
|
14
|
+
<excludeFolder url="file://$MODULE_DIR$/.bundle" />
|
|
15
|
+
<excludeFolder url="file://$MODULE_DIR$/vendor/bundle" />
|
|
16
|
+
</content>
|
|
17
|
+
<orderEntry type="inheritedJdk" />
|
|
18
|
+
<orderEntry type="sourceFolder" forTests="false" />
|
|
19
|
+
<orderEntry type="library" scope="PROVIDED" name="bundler (v1.10.3, ruby-2.0.0-p481) [gem]" level="application" />
|
|
20
|
+
<orderEntry type="library" scope="PROVIDED" name="childprocess (v0.5.6, ruby-2.0.0-p481) [gem]" level="application" />
|
|
21
|
+
<orderEntry type="library" scope="PROVIDED" name="facets (v2.9.3, ruby-2.0.0-p481) [gem]" level="application" />
|
|
22
|
+
<orderEntry type="library" scope="PROVIDED" name="ffi (v1.9.8, ruby-2.0.0-p481) [gem]" level="application" />
|
|
23
|
+
<orderEntry type="library" scope="PROVIDED" name="multi_json (v1.11.0, ruby-2.0.0-p481) [gem]" level="application" />
|
|
24
|
+
<orderEntry type="library" scope="PROVIDED" name="parallel (v1.6.0, ruby-2.0.0-p481) [gem]" level="application" />
|
|
25
|
+
<orderEntry type="library" scope="PROVIDED" name="power_assert (v0.2.3, ruby-2.0.0-p481) [gem]" level="application" />
|
|
26
|
+
<orderEntry type="library" scope="PROVIDED" name="rake (v10.4.2, ruby-2.0.0-p481) [gem]" level="application" />
|
|
27
|
+
<orderEntry type="library" scope="PROVIDED" name="rubyzip (v1.1.7, ruby-2.0.0-p481) [gem]" level="application" />
|
|
28
|
+
<orderEntry type="library" scope="PROVIDED" name="selenium-webdriver (v2.46.2, ruby-2.0.0-p481) [gem]" level="application" />
|
|
29
|
+
<orderEntry type="library" scope="PROVIDED" name="test-unit (v3.1.1, ruby-2.0.0-p481) [gem]" level="application" />
|
|
30
|
+
<orderEntry type="library" scope="PROVIDED" name="watir-webdriver (v0.6.11, ruby-2.0.0-p481) [gem]" level="application" />
|
|
31
|
+
<orderEntry type="library" scope="PROVIDED" name="websocket (v1.2.2, ruby-2.0.0-p481) [gem]" level="application" />
|
|
32
|
+
</component>
|
|
33
|
+
</module>
|
data/.idea/encodings.xml
ADDED
data/.idea/misc.xml
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<project version="4">
|
|
3
|
+
<component name="ProjectLevelVcsManager" settingsEditedManually="false">
|
|
4
|
+
<OptionsSetting value="true" id="Add" />
|
|
5
|
+
<OptionsSetting value="true" id="Remove" />
|
|
6
|
+
<OptionsSetting value="true" id="Checkout" />
|
|
7
|
+
<OptionsSetting value="true" id="Update" />
|
|
8
|
+
<OptionsSetting value="true" id="Status" />
|
|
9
|
+
<OptionsSetting value="true" id="Edit" />
|
|
10
|
+
<ConfirmationsSetting value="0" id="Add" />
|
|
11
|
+
<ConfirmationsSetting value="0" id="Remove" />
|
|
12
|
+
</component>
|
|
13
|
+
<component name="ProjectRootManager" version="2" project-jdk-name="ruby-2.0.0-p481" project-jdk-type="RUBY_SDK" />
|
|
14
|
+
</project>
|
data/.idea/modules.xml
ADDED
data/.idea/vcs.xml
ADDED
data/.idea/workspace.xml
ADDED
|
@@ -0,0 +1,406 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<project version="4">
|
|
3
|
+
<component name="ChangeListManager">
|
|
4
|
+
<list default="true" id="c63fee27-ce2d-4356-9d91-28cb5944f1bf" name="Default" comment="">
|
|
5
|
+
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/lib/actir/parallel_tests/test/result.rb" afterPath="$PROJECT_DIR$/lib/actir/parallel_tests/test/result.rb" />
|
|
6
|
+
</list>
|
|
7
|
+
<ignored path="actir.iws" />
|
|
8
|
+
<ignored path=".idea/workspace.xml" />
|
|
9
|
+
<ignored path="$PROJECT_DIR$/.bundle/" />
|
|
10
|
+
<ignored path="$PROJECT_DIR$/vendor/bundle/" />
|
|
11
|
+
<ignored path=".idea/dataSources.local.xml" />
|
|
12
|
+
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
|
|
13
|
+
<option name="TRACKING_ENABLED" value="true" />
|
|
14
|
+
<option name="SHOW_DIALOG" value="false" />
|
|
15
|
+
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
|
16
|
+
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
|
17
|
+
<option name="LAST_RESOLUTION" value="IGNORE" />
|
|
18
|
+
</component>
|
|
19
|
+
<component name="ChangesViewManager" flattened_view="true" show_ignored="false" />
|
|
20
|
+
<component name="CreatePatchCommitExecutor">
|
|
21
|
+
<option name="PATCH_PATH" value="" />
|
|
22
|
+
</component>
|
|
23
|
+
<component name="FavoritesManager">
|
|
24
|
+
<favorites_list name="actir" />
|
|
25
|
+
</component>
|
|
26
|
+
<component name="FileEditorManager">
|
|
27
|
+
<leaf>
|
|
28
|
+
<file leaf-file-name="rerunner.rb" pinned="false" current-in-tab="false">
|
|
29
|
+
<entry file="file://$PROJECT_DIR$/lib/actir/parallel_tests/test/rerunner.rb">
|
|
30
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
31
|
+
<state vertical-scroll-proportion="0.0">
|
|
32
|
+
<caret line="83" column="31" selection-start-line="83" selection-start-column="31" selection-end-line="83" selection-end-column="31" />
|
|
33
|
+
<folding />
|
|
34
|
+
</state>
|
|
35
|
+
</provider>
|
|
36
|
+
</entry>
|
|
37
|
+
</file>
|
|
38
|
+
<file leaf-file-name="result.rb" pinned="false" current-in-tab="true">
|
|
39
|
+
<entry file="file://$PROJECT_DIR$/lib/actir/parallel_tests/test/result.rb">
|
|
40
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
41
|
+
<state vertical-scroll-proportion="0.6978193">
|
|
42
|
+
<caret line="32" column="23" selection-start-line="32" selection-start-column="23" selection-end-line="32" selection-end-column="23" />
|
|
43
|
+
<folding />
|
|
44
|
+
</state>
|
|
45
|
+
</provider>
|
|
46
|
+
</entry>
|
|
47
|
+
</file>
|
|
48
|
+
<file leaf-file-name="runner.rb" pinned="false" current-in-tab="false">
|
|
49
|
+
<entry file="file://$PROJECT_DIR$/lib/actir/parallel_tests/test/runner.rb">
|
|
50
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
51
|
+
<state vertical-scroll-proportion="0.0">
|
|
52
|
+
<caret line="52" column="57" selection-start-line="52" selection-start-column="57" selection-end-line="52" selection-end-column="57" />
|
|
53
|
+
<folding />
|
|
54
|
+
</state>
|
|
55
|
+
</provider>
|
|
56
|
+
</entry>
|
|
57
|
+
</file>
|
|
58
|
+
</leaf>
|
|
59
|
+
</component>
|
|
60
|
+
<component name="Git.Settings">
|
|
61
|
+
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
|
|
62
|
+
</component>
|
|
63
|
+
<component name="IdeDocumentHistory">
|
|
64
|
+
<option name="CHANGED_PATHS">
|
|
65
|
+
<list>
|
|
66
|
+
<option value="$PROJECT_DIR$/lib/actir/parallel_tests/test/result.rb" />
|
|
67
|
+
</list>
|
|
68
|
+
</option>
|
|
69
|
+
</component>
|
|
70
|
+
<component name="JsBuildToolGruntFileManager" detection-done="true" />
|
|
71
|
+
<component name="JsBuildToolPackageJson" detection-done="true" />
|
|
72
|
+
<component name="JsGulpfileManager">
|
|
73
|
+
<detection-done>true</detection-done>
|
|
74
|
+
</component>
|
|
75
|
+
<component name="ProjectFrameBounds">
|
|
76
|
+
<option name="x" value="-1873" />
|
|
77
|
+
<option name="y" value="-164" />
|
|
78
|
+
<option name="width" value="1873" />
|
|
79
|
+
<option name="height" value="1057" />
|
|
80
|
+
</component>
|
|
81
|
+
<component name="ProjectLevelVcsManager" settingsEditedManually="false">
|
|
82
|
+
<OptionsSetting value="true" id="Add" />
|
|
83
|
+
<OptionsSetting value="true" id="Remove" />
|
|
84
|
+
<OptionsSetting value="true" id="Checkout" />
|
|
85
|
+
<OptionsSetting value="true" id="Update" />
|
|
86
|
+
<OptionsSetting value="true" id="Status" />
|
|
87
|
+
<OptionsSetting value="true" id="Edit" />
|
|
88
|
+
<ConfirmationsSetting value="0" id="Add" />
|
|
89
|
+
<ConfirmationsSetting value="0" id="Remove" />
|
|
90
|
+
</component>
|
|
91
|
+
<component name="ProjectView">
|
|
92
|
+
<navigator currentView="ProjectPane" proportions="" version="1">
|
|
93
|
+
<flattenPackages />
|
|
94
|
+
<showMembers />
|
|
95
|
+
<showModules />
|
|
96
|
+
<showLibraryContents />
|
|
97
|
+
<hideEmptyPackages />
|
|
98
|
+
<abbreviatePackageNames />
|
|
99
|
+
<autoscrollToSource />
|
|
100
|
+
<autoscrollFromSource />
|
|
101
|
+
<sortByType />
|
|
102
|
+
<manualOrder />
|
|
103
|
+
<foldersAlwaysOnTop value="true" />
|
|
104
|
+
</navigator>
|
|
105
|
+
<panes>
|
|
106
|
+
<pane id="Scratches" />
|
|
107
|
+
<pane id="ProjectPane">
|
|
108
|
+
<subPane>
|
|
109
|
+
<PATH>
|
|
110
|
+
<PATH_ELEMENT>
|
|
111
|
+
<option name="myItemId" value="actir" />
|
|
112
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
|
113
|
+
</PATH_ELEMENT>
|
|
114
|
+
</PATH>
|
|
115
|
+
<PATH>
|
|
116
|
+
<PATH_ELEMENT>
|
|
117
|
+
<option name="myItemId" value="actir" />
|
|
118
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
|
119
|
+
</PATH_ELEMENT>
|
|
120
|
+
<PATH_ELEMENT>
|
|
121
|
+
<option name="myItemId" value="actir" />
|
|
122
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
|
123
|
+
</PATH_ELEMENT>
|
|
124
|
+
</PATH>
|
|
125
|
+
<PATH>
|
|
126
|
+
<PATH_ELEMENT>
|
|
127
|
+
<option name="myItemId" value="actir" />
|
|
128
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
|
129
|
+
</PATH_ELEMENT>
|
|
130
|
+
<PATH_ELEMENT>
|
|
131
|
+
<option name="myItemId" value="actir" />
|
|
132
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
|
133
|
+
</PATH_ELEMENT>
|
|
134
|
+
<PATH_ELEMENT>
|
|
135
|
+
<option name="myItemId" value="lib" />
|
|
136
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
|
137
|
+
</PATH_ELEMENT>
|
|
138
|
+
</PATH>
|
|
139
|
+
<PATH>
|
|
140
|
+
<PATH_ELEMENT>
|
|
141
|
+
<option name="myItemId" value="actir" />
|
|
142
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
|
143
|
+
</PATH_ELEMENT>
|
|
144
|
+
<PATH_ELEMENT>
|
|
145
|
+
<option name="myItemId" value="actir" />
|
|
146
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
|
147
|
+
</PATH_ELEMENT>
|
|
148
|
+
<PATH_ELEMENT>
|
|
149
|
+
<option name="myItemId" value="lib" />
|
|
150
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
|
151
|
+
</PATH_ELEMENT>
|
|
152
|
+
<PATH_ELEMENT>
|
|
153
|
+
<option name="myItemId" value="actir" />
|
|
154
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
|
155
|
+
</PATH_ELEMENT>
|
|
156
|
+
</PATH>
|
|
157
|
+
<PATH>
|
|
158
|
+
<PATH_ELEMENT>
|
|
159
|
+
<option name="myItemId" value="actir" />
|
|
160
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
|
161
|
+
</PATH_ELEMENT>
|
|
162
|
+
<PATH_ELEMENT>
|
|
163
|
+
<option name="myItemId" value="actir" />
|
|
164
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
|
165
|
+
</PATH_ELEMENT>
|
|
166
|
+
<PATH_ELEMENT>
|
|
167
|
+
<option name="myItemId" value="lib" />
|
|
168
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
|
169
|
+
</PATH_ELEMENT>
|
|
170
|
+
<PATH_ELEMENT>
|
|
171
|
+
<option name="myItemId" value="actir" />
|
|
172
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
|
173
|
+
</PATH_ELEMENT>
|
|
174
|
+
<PATH_ELEMENT>
|
|
175
|
+
<option name="myItemId" value="script" />
|
|
176
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
|
177
|
+
</PATH_ELEMENT>
|
|
178
|
+
</PATH>
|
|
179
|
+
<PATH>
|
|
180
|
+
<PATH_ELEMENT>
|
|
181
|
+
<option name="myItemId" value="actir" />
|
|
182
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
|
183
|
+
</PATH_ELEMENT>
|
|
184
|
+
<PATH_ELEMENT>
|
|
185
|
+
<option name="myItemId" value="actir" />
|
|
186
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
|
187
|
+
</PATH_ELEMENT>
|
|
188
|
+
<PATH_ELEMENT>
|
|
189
|
+
<option name="myItemId" value="lib" />
|
|
190
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
|
191
|
+
</PATH_ELEMENT>
|
|
192
|
+
<PATH_ELEMENT>
|
|
193
|
+
<option name="myItemId" value="actir" />
|
|
194
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
|
195
|
+
</PATH_ELEMENT>
|
|
196
|
+
<PATH_ELEMENT>
|
|
197
|
+
<option name="myItemId" value="parallel_tests" />
|
|
198
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
|
199
|
+
</PATH_ELEMENT>
|
|
200
|
+
</PATH>
|
|
201
|
+
<PATH>
|
|
202
|
+
<PATH_ELEMENT>
|
|
203
|
+
<option name="myItemId" value="actir" />
|
|
204
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
|
205
|
+
</PATH_ELEMENT>
|
|
206
|
+
<PATH_ELEMENT>
|
|
207
|
+
<option name="myItemId" value="actir" />
|
|
208
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
|
209
|
+
</PATH_ELEMENT>
|
|
210
|
+
<PATH_ELEMENT>
|
|
211
|
+
<option name="myItemId" value="lib" />
|
|
212
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
|
213
|
+
</PATH_ELEMENT>
|
|
214
|
+
<PATH_ELEMENT>
|
|
215
|
+
<option name="myItemId" value="actir" />
|
|
216
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
|
217
|
+
</PATH_ELEMENT>
|
|
218
|
+
<PATH_ELEMENT>
|
|
219
|
+
<option name="myItemId" value="parallel_tests" />
|
|
220
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
|
221
|
+
</PATH_ELEMENT>
|
|
222
|
+
<PATH_ELEMENT>
|
|
223
|
+
<option name="myItemId" value="test" />
|
|
224
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
|
225
|
+
</PATH_ELEMENT>
|
|
226
|
+
</PATH>
|
|
227
|
+
<PATH>
|
|
228
|
+
<PATH_ELEMENT>
|
|
229
|
+
<option name="myItemId" value="actir" />
|
|
230
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
|
231
|
+
</PATH_ELEMENT>
|
|
232
|
+
<PATH_ELEMENT>
|
|
233
|
+
<option name="myItemId" value="actir" />
|
|
234
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
|
235
|
+
</PATH_ELEMENT>
|
|
236
|
+
<PATH_ELEMENT>
|
|
237
|
+
<option name="myItemId" value="lib" />
|
|
238
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
|
239
|
+
</PATH_ELEMENT>
|
|
240
|
+
<PATH_ELEMENT>
|
|
241
|
+
<option name="myItemId" value="actir" />
|
|
242
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
|
243
|
+
</PATH_ELEMENT>
|
|
244
|
+
<PATH_ELEMENT>
|
|
245
|
+
<option name="myItemId" value="parallel_tests" />
|
|
246
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
|
247
|
+
</PATH_ELEMENT>
|
|
248
|
+
<PATH_ELEMENT>
|
|
249
|
+
<option name="myItemId" value="report" />
|
|
250
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
|
251
|
+
</PATH_ELEMENT>
|
|
252
|
+
</PATH>
|
|
253
|
+
</subPane>
|
|
254
|
+
</pane>
|
|
255
|
+
<pane id="Scope" />
|
|
256
|
+
</panes>
|
|
257
|
+
</component>
|
|
258
|
+
<component name="PropertiesComponent">
|
|
259
|
+
<property name="last_opened_file_path" value="$PROJECT_DIR$" />
|
|
260
|
+
<property name="WebServerToolWindowFactoryState" value="false" />
|
|
261
|
+
<property name="settings.editor.selected.configurable" value="reference.settingsdialog.IDE.editor.colors.Font" />
|
|
262
|
+
<property name="js-jscs-nodeInterpreter" value="/usr/local/bin/node" />
|
|
263
|
+
<property name="settings.editor.splitter.proportion" value="0.2" />
|
|
264
|
+
</component>
|
|
265
|
+
<component name="RunManager">
|
|
266
|
+
<configuration default="true" type="CucumberRunConfigurationType" factoryName="Cucumber">
|
|
267
|
+
<predefined_log_file id="RUBY_CUCUMBER" enabled="true" />
|
|
268
|
+
<module name="" />
|
|
269
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
|
|
270
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="" />
|
|
271
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
|
|
272
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
|
|
273
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
|
|
274
|
+
<envs />
|
|
275
|
+
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
|
|
276
|
+
<EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
|
|
277
|
+
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
|
|
278
|
+
<COVERAGE_PATTERN ENABLED="true">
|
|
279
|
+
<PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
|
|
280
|
+
</COVERAGE_PATTERN>
|
|
281
|
+
</EXTENSION>
|
|
282
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="**/*.feature" />
|
|
283
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
|
|
284
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
|
|
285
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="" />
|
|
286
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_TAGS_FILTER" VALUE="" />
|
|
287
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_NAME_FILTER" VALUE="" />
|
|
288
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="CUCUMBER_ARGS" VALUE="--color -r features" />
|
|
289
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_VERSION" VALUE="" />
|
|
290
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="FULL_BACKTRACE" VALUE="false" />
|
|
291
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="VERBOSE_OPTION" VALUE="false" />
|
|
292
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
|
|
293
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false" />
|
|
294
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="SPRING" VALUE="false" />
|
|
295
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="CUCUMBER_RUNNER_PATH" VALUE="" />
|
|
296
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="USE_CUSTOM_RUNNER" VALUE="false" />
|
|
297
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="SETTINGS_VERSION" VALUE="2" />
|
|
298
|
+
<method />
|
|
299
|
+
</configuration>
|
|
300
|
+
<configuration default="true" type="JavascriptDebugType" factoryName="JavaScript Debug">
|
|
301
|
+
<method />
|
|
302
|
+
</configuration>
|
|
303
|
+
<configuration default="true" type="RubyRunConfigurationType" factoryName="Ruby">
|
|
304
|
+
<module name="" />
|
|
305
|
+
<RUBY_RUN_CONFIG NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
|
|
306
|
+
<RUBY_RUN_CONFIG NAME="WORK DIR" VALUE="" />
|
|
307
|
+
<RUBY_RUN_CONFIG NAME="SHOULD_USE_SDK" VALUE="false" />
|
|
308
|
+
<RUBY_RUN_CONFIG NAME="ALTERN_SDK_NAME" VALUE="" />
|
|
309
|
+
<RUBY_RUN_CONFIG NAME="myPassParentEnvs" VALUE="true" />
|
|
310
|
+
<envs />
|
|
311
|
+
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
|
|
312
|
+
<EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
|
|
313
|
+
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
|
|
314
|
+
<COVERAGE_PATTERN ENABLED="true">
|
|
315
|
+
<PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
|
|
316
|
+
</COVERAGE_PATTERN>
|
|
317
|
+
</EXTENSION>
|
|
318
|
+
<RUBY_RUN_CONFIG NAME="SCRIPT_PATH" VALUE="" />
|
|
319
|
+
<RUBY_RUN_CONFIG NAME="SCRIPT_ARGS" VALUE="" />
|
|
320
|
+
<method />
|
|
321
|
+
</configuration>
|
|
322
|
+
<configuration default="true" type="js.build_tools.gulp" factoryName="Gulp.js">
|
|
323
|
+
<method />
|
|
324
|
+
</configuration>
|
|
325
|
+
<configuration default="true" type="js.build_tools.npm" factoryName="npm">
|
|
326
|
+
<command value="run-script" />
|
|
327
|
+
<scripts />
|
|
328
|
+
<envs />
|
|
329
|
+
<method />
|
|
330
|
+
</configuration>
|
|
331
|
+
</component>
|
|
332
|
+
<component name="ShelveChangesManager" show_recycled="false" />
|
|
333
|
+
<component name="TaskManager">
|
|
334
|
+
<task active="true" id="Default" summary="Default task">
|
|
335
|
+
<changelist id="c63fee27-ce2d-4356-9d91-28cb5944f1bf" name="Default" comment="" />
|
|
336
|
+
<created>1448369252847</created>
|
|
337
|
+
<option name="number" value="Default" />
|
|
338
|
+
<updated>1448369252847</updated>
|
|
339
|
+
</task>
|
|
340
|
+
<servers />
|
|
341
|
+
</component>
|
|
342
|
+
<component name="ToolWindowManager">
|
|
343
|
+
<frame x="-1873" y="-164" width="1873" height="1057" extended-state="6" />
|
|
344
|
+
<editor active="true" />
|
|
345
|
+
<layout>
|
|
346
|
+
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.25286728" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
|
|
347
|
+
<window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
|
|
348
|
+
<window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="true" content_ui="tabs" />
|
|
349
|
+
<window_info id="Database" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
|
350
|
+
<window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32996973" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
|
|
351
|
+
<window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
|
352
|
+
<window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
|
|
353
|
+
<window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
|
354
|
+
<window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="true" content_ui="tabs" />
|
|
355
|
+
<window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
|
|
356
|
+
<window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
|
|
357
|
+
<window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
|
|
358
|
+
<window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="SLIDING" type="SLIDING" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
|
|
359
|
+
<window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
|
|
360
|
+
<window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
|
|
361
|
+
<window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
|
|
362
|
+
<window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
|
|
363
|
+
</layout>
|
|
364
|
+
</component>
|
|
365
|
+
<component name="VcsContentAnnotationSettings">
|
|
366
|
+
<option name="myLimit" value="2678400000" />
|
|
367
|
+
</component>
|
|
368
|
+
<component name="XDebuggerManager">
|
|
369
|
+
<breakpoint-manager />
|
|
370
|
+
<watches-manager />
|
|
371
|
+
</component>
|
|
372
|
+
<component name="editorHistoryManager">
|
|
373
|
+
<entry file="file://$PROJECT_DIR$/lib/actir/parallel_tests/test/runner.rb">
|
|
374
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
375
|
+
<state vertical-scroll-proportion="0.0">
|
|
376
|
+
<caret line="52" column="57" selection-start-line="52" selection-start-column="57" selection-end-line="52" selection-end-column="57" />
|
|
377
|
+
<folding />
|
|
378
|
+
</state>
|
|
379
|
+
</provider>
|
|
380
|
+
</entry>
|
|
381
|
+
<entry file="file://$PROJECT_DIR$/lib/actir/initializer.rb">
|
|
382
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
383
|
+
<state vertical-scroll-proportion="0.5233645">
|
|
384
|
+
<caret line="24" column="55" selection-start-line="24" selection-start-column="55" selection-end-line="24" selection-end-column="55" />
|
|
385
|
+
<folding />
|
|
386
|
+
</state>
|
|
387
|
+
</provider>
|
|
388
|
+
</entry>
|
|
389
|
+
<entry file="file://$PROJECT_DIR$/lib/actir/parallel_tests/test/rerunner.rb">
|
|
390
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
391
|
+
<state vertical-scroll-proportion="0.0">
|
|
392
|
+
<caret line="83" column="31" selection-start-line="83" selection-start-column="31" selection-end-line="83" selection-end-column="31" />
|
|
393
|
+
<folding />
|
|
394
|
+
</state>
|
|
395
|
+
</provider>
|
|
396
|
+
</entry>
|
|
397
|
+
<entry file="file://$PROJECT_DIR$/lib/actir/parallel_tests/test/result.rb">
|
|
398
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
399
|
+
<state vertical-scroll-proportion="0.6978193">
|
|
400
|
+
<caret line="32" column="23" selection-start-line="32" selection-start-column="23" selection-end-line="32" selection-end-column="23" />
|
|
401
|
+
<folding />
|
|
402
|
+
</state>
|
|
403
|
+
</provider>
|
|
404
|
+
</entry>
|
|
405
|
+
</component>
|
|
406
|
+
</project>
|
|
@@ -67,6 +67,8 @@ module Actir
|
|
|
67
67
|
end
|
|
68
68
|
#执行cmd,获取执行结果输出
|
|
69
69
|
result = execute_command(cmd, process_number, num_processes, options)
|
|
70
|
+
#从result中获取执行结果用于生成测试报告
|
|
71
|
+
@result.get_testsuite_detail(result, :rerunner)
|
|
70
72
|
#先判断是否还是失败,且未满足重试次数
|
|
71
73
|
times -= 1
|
|
72
74
|
if any_test_failed?(result) && times > 0
|
|
@@ -80,9 +82,6 @@ module Actir
|
|
|
80
82
|
Actir::ParallelTests::Test::Logger.log(log_str, process_number)
|
|
81
83
|
end
|
|
82
84
|
|
|
83
|
-
#从result中获取执行结果用于生成测试报告
|
|
84
|
-
@result.get_testsuite_detail(result, :rerunner)
|
|
85
|
-
|
|
86
85
|
return result
|
|
87
86
|
end
|
|
88
87
|
|
|
@@ -95,28 +94,6 @@ module Actir
|
|
|
95
94
|
failure_tests << testcase
|
|
96
95
|
end
|
|
97
96
|
failure_tests
|
|
98
|
-
# result_array = test_result[:stdout].split("\n")
|
|
99
|
-
# failure_tests_hash = {}
|
|
100
|
-
# testcase = ""
|
|
101
|
-
# testfile = ""
|
|
102
|
-
# result_array.each do |result|
|
|
103
|
-
# #取出执行失败的用例文件名称和用例名称
|
|
104
|
-
# if (result =~ failure_tests_name_reg) || (result =~ error_tests_name_reg)
|
|
105
|
-
# #范例:"testhehe(TestHehe)"
|
|
106
|
-
# testcase = $1
|
|
107
|
-
# end
|
|
108
|
-
# if result =~ failure_tests_file_reg
|
|
109
|
-
# #范例:"testcode/test_tt/test_hehe.rb:8:in `xxxx'"
|
|
110
|
-
# testfile = $1
|
|
111
|
-
# end
|
|
112
|
-
# #至于为什么采用testcase => testfile的形式是因为…文件名会重复
|
|
113
|
-
# if testcase != "" && testfile != ""
|
|
114
|
-
# failure_tests_hash[testcase] = testfile
|
|
115
|
-
# testcase = ""
|
|
116
|
-
# testfile = ""
|
|
117
|
-
# end
|
|
118
|
-
# end
|
|
119
|
-
# failure_tests_hash
|
|
120
97
|
end
|
|
121
98
|
|
|
122
99
|
#组合出最新的执行结果
|
|
@@ -14,10 +14,17 @@ module Actir
|
|
|
14
14
|
$testsuites = [] unless $testsuites
|
|
15
15
|
if mode == :runner
|
|
16
16
|
get_run_test_info(test_result)
|
|
17
|
+
#如果有用例失败,则记录详细信息,否则不需要
|
|
18
|
+
if any_test_failed?(test_result)
|
|
19
|
+
record_detail(test_result)
|
|
20
|
+
end
|
|
21
|
+
else
|
|
22
|
+
record_detail(test_result)
|
|
17
23
|
end
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
def record_detail(test_result)
|
|
27
|
+
failure_detail_hash = get_testfailed_info(test_result)
|
|
21
28
|
$testsuites.each do |testsuite|
|
|
22
29
|
testcases = testsuite[:testcases]
|
|
23
30
|
testcases.each do |testcase|
|
|
@@ -26,7 +33,7 @@ module Actir
|
|
|
26
33
|
failure_detail_hash.each do |testcase_failure, detail|
|
|
27
34
|
if testcase_failure == testcase[:testcase_name]
|
|
28
35
|
testcase[:success] = false
|
|
29
|
-
testcase[:detail] = detail
|
|
36
|
+
testcase[:detail] = detail
|
|
30
37
|
fail_flag = 1
|
|
31
38
|
#从hash表中移除
|
|
32
39
|
failure_detail_hash.delete(testcase_failure)
|
|
@@ -38,7 +45,6 @@ module Actir
|
|
|
38
45
|
end
|
|
39
46
|
end
|
|
40
47
|
end
|
|
41
|
-
end
|
|
42
48
|
end
|
|
43
49
|
|
|
44
50
|
def get_run_test_info(test_result)
|
|
@@ -177,16 +183,13 @@ module Actir
|
|
|
177
183
|
end
|
|
178
184
|
|
|
179
185
|
def get_testfile_from_unique(unique_testname)
|
|
180
|
-
testfile_name = ""
|
|
181
186
|
unique_testname =~ /(.*)\:(.*)/
|
|
182
|
-
|
|
187
|
+
$1
|
|
183
188
|
end
|
|
184
189
|
|
|
185
190
|
def get_testcase_from_unique(unique_testname)
|
|
186
|
-
p unique_testname
|
|
187
|
-
testcase_name = ""
|
|
188
191
|
unique_testname =~ /(.*)\:(.*)/
|
|
189
|
-
|
|
192
|
+
$2
|
|
190
193
|
end
|
|
191
194
|
|
|
192
195
|
end
|
data/lib/actir/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: actir
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.2.
|
|
4
|
+
version: 1.2.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- hub
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-11-
|
|
11
|
+
date: 2015-11-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: test-unit
|
|
@@ -118,6 +118,14 @@ extensions: []
|
|
|
118
118
|
extra_rdoc_files: []
|
|
119
119
|
files:
|
|
120
120
|
- ".gitignore"
|
|
121
|
+
- ".idea/.name"
|
|
122
|
+
- ".idea/.rakeTasks"
|
|
123
|
+
- ".idea/actir.iml"
|
|
124
|
+
- ".idea/encodings.xml"
|
|
125
|
+
- ".idea/misc.xml"
|
|
126
|
+
- ".idea/modules.xml"
|
|
127
|
+
- ".idea/vcs.xml"
|
|
128
|
+
- ".idea/workspace.xml"
|
|
121
129
|
- ".travis.yml"
|
|
122
130
|
- CODE_OF_CONDUCT.md
|
|
123
131
|
- Gemfile
|