test_rail_integration 0.0.5.3 → 0.0.6
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/doc/Gemfile.html +93 -0
- data/doc/Gemfile_lock.html +109 -0
- data/doc/LICENSE_txt.html +109 -0
- data/doc/README_md.html +150 -0
- data/doc/Rakefile.html +91 -0
- data/doc/TestRail/APIClient.html +295 -0
- data/doc/TestRail/APIError.html +102 -0
- data/doc/TestRail/Connection.html +490 -0
- data/doc/TestRail/Generators.html +95 -0
- data/doc/TestRail/Hook.html +274 -0
- data/doc/TestRail/TestCaseResult.html +265 -0
- data/doc/TestRail/TestRailDataLoad.html +153 -0
- data/doc/TestRail/TestRailTools.html +242 -0
- data/doc/TestRail/TestRunParameters.html +194 -0
- data/doc/TestRail.html +95 -0
- data/doc/TestRailIntegration/CLI.html +154 -0
- data/doc/TestRailIntegration/TestTail/Generators/Project.html +241 -0
- data/doc/TestRailIntegration/TestTail/Generators.html +95 -0
- data/doc/TestRailIntegration/TestTail.html +95 -0
- data/doc/TestRailIntegration.html +109 -0
- data/doc/bin/test_rail_integration.html +54 -0
- data/doc/created.rid +22 -0
- data/doc/css/fonts.css +167 -0
- data/doc/css/rdoc.css +590 -0
- data/doc/fonts/Lato-Light.ttf +0 -0
- data/doc/fonts/Lato-LightItalic.ttf +0 -0
- data/doc/fonts/Lato-Regular.ttf +0 -0
- data/doc/fonts/Lato-RegularItalic.ttf +0 -0
- data/doc/fonts/SourceCodePro-Bold.ttf +0 -0
- data/doc/fonts/SourceCodePro-Regular.ttf +0 -0
- data/doc/images/add.png +0 -0
- data/doc/images/arrow_up.png +0 -0
- data/doc/images/brick.png +0 -0
- data/doc/images/brick_link.png +0 -0
- data/doc/images/bug.png +0 -0
- data/doc/images/bullet_black.png +0 -0
- data/doc/images/bullet_toggle_minus.png +0 -0
- data/doc/images/bullet_toggle_plus.png +0 -0
- data/doc/images/date.png +0 -0
- data/doc/images/delete.png +0 -0
- data/doc/images/find.png +0 -0
- data/doc/images/loadingAnimation.gif +0 -0
- data/doc/images/macFFBgHack.png +0 -0
- data/doc/images/package.png +0 -0
- data/doc/images/page_green.png +0 -0
- data/doc/images/page_white_text.png +0 -0
- data/doc/images/page_white_width.png +0 -0
- data/doc/images/plugin.png +0 -0
- data/doc/images/ruby.png +0 -0
- data/doc/images/tag_blue.png +0 -0
- data/doc/images/tag_green.png +0 -0
- data/doc/images/transparent.png +0 -0
- data/doc/images/wrench.png +0 -0
- data/doc/images/wrench_orange.png +0 -0
- data/doc/images/zoom.png +0 -0
- data/doc/index.html +125 -0
- data/doc/js/darkfish.js +161 -0
- data/doc/js/jquery.js +4 -0
- data/doc/js/navigation.js +142 -0
- data/doc/js/navigation.js.gz +0 -0
- data/doc/js/quicksearch.js +114 -0
- data/doc/js/search.js +109 -0
- data/doc/js/search_index.js +1 -0
- data/doc/js/search_index.js.gz +0 -0
- data/doc/js/searcher.js +228 -0
- data/doc/js/searcher.js.gz +0 -0
- data/doc/js/thickbox-compressed.js +10 -0
- data/doc/lib/test_rail_integration/cli_rb.html +54 -0
- data/doc/lib/test_rail_integration/generator/API_client_rb.html +70 -0
- data/doc/lib/test_rail_integration/generator/connection_rb.html +52 -0
- data/doc/lib/test_rail_integration/generator/project/run_test_run_rb.html +54 -0
- data/doc/lib/test_rail_integration/generator/project_rb.html +56 -0
- data/doc/lib/test_rail_integration/generator/test_case_result_rb.html +52 -0
- data/doc/lib/test_rail_integration/generator/test_rail_hooks_rb.html +52 -0
- data/doc/lib/test_rail_integration/generator/test_rail_tools_rb.html +54 -0
- data/doc/lib/test_rail_integration/generator/test_run_parameters_rb.html +52 -0
- data/doc/lib/test_rail_integration/version_rb.html +52 -0
- data/doc/lib/test_rail_integration_rb.html +56 -0
- data/doc/rdoc.css +763 -0
- data/doc/table_of_contents.html +252 -0
- data/doc/test_rail_integration_gemspec.html +117 -0
- data/lib/test_rail_integration/generator/project/test_rail_data.yml +2 -2
- data/lib/test_rail_integration/generator/test_case_result.rb +1 -1
- data/lib/test_rail_integration/version.rb +1 -1
- metadata +83 -2
@@ -0,0 +1,490 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<meta charset="UTF-8">
|
6
|
+
|
7
|
+
<title>class TestRail::Connection - RDoc Documentation</title>
|
8
|
+
|
9
|
+
<script type="text/javascript">
|
10
|
+
var rdoc_rel_prefix = "../";
|
11
|
+
</script>
|
12
|
+
|
13
|
+
<script src="../js/jquery.js"></script>
|
14
|
+
<script src="../js/darkfish.js"></script>
|
15
|
+
|
16
|
+
<link href="../css/fonts.css" rel="stylesheet">
|
17
|
+
<link href="../css/rdoc.css" rel="stylesheet">
|
18
|
+
|
19
|
+
|
20
|
+
|
21
|
+
<body id="top" role="document" class="class">
|
22
|
+
<nav role="navigation">
|
23
|
+
<div id="project-navigation">
|
24
|
+
<div id="home-section" role="region" title="Quick navigation" class="nav-section">
|
25
|
+
<h2>
|
26
|
+
<a href="../index.html" rel="home">Home</a>
|
27
|
+
</h2>
|
28
|
+
|
29
|
+
<div id="table-of-contents-navigation">
|
30
|
+
<a href="../table_of_contents.html#pages">Pages</a>
|
31
|
+
<a href="../table_of_contents.html#classes">Classes</a>
|
32
|
+
<a href="../table_of_contents.html#methods">Methods</a>
|
33
|
+
</div>
|
34
|
+
</div>
|
35
|
+
|
36
|
+
<div id="search-section" role="search" class="project-section initially-hidden">
|
37
|
+
<form action="#" method="get" accept-charset="utf-8">
|
38
|
+
<div id="search-field-wrapper">
|
39
|
+
<input id="search-field" role="combobox" aria-label="Search"
|
40
|
+
aria-autocomplete="list" aria-controls="search-results"
|
41
|
+
type="text" name="search" placeholder="Search" spellcheck="false"
|
42
|
+
title="Type to search, Up and Down to navigate, Enter to load">
|
43
|
+
</div>
|
44
|
+
|
45
|
+
<ul id="search-results" aria-label="Search Results"
|
46
|
+
aria-busy="false" aria-expanded="false"
|
47
|
+
aria-atomic="false" class="initially-hidden"></ul>
|
48
|
+
</form>
|
49
|
+
</div>
|
50
|
+
|
51
|
+
</div>
|
52
|
+
|
53
|
+
|
54
|
+
|
55
|
+
<div id="class-metadata">
|
56
|
+
|
57
|
+
<div id="parent-class-section" class="nav-section">
|
58
|
+
<h3>Parent</h3>
|
59
|
+
|
60
|
+
|
61
|
+
<p class="link">Object
|
62
|
+
|
63
|
+
</div>
|
64
|
+
|
65
|
+
|
66
|
+
|
67
|
+
<!-- Method Quickref -->
|
68
|
+
<div id="method-list-section" class="nav-section">
|
69
|
+
<h3>Methods</h3>
|
70
|
+
|
71
|
+
<ul class="link-list" role="directory">
|
72
|
+
|
73
|
+
<li ><a href="#method-c-cases_id">::cases_id</a>
|
74
|
+
|
75
|
+
<li ><a href="#method-c-change_test_run_name">::change_test_run_name</a>
|
76
|
+
|
77
|
+
<li ><a href="#method-c-client">::client</a>
|
78
|
+
|
79
|
+
<li ><a href="#method-c-commit_test_result">::commit_test_result</a>
|
80
|
+
|
81
|
+
<li ><a href="#method-c-get_previous_test_result">::get_previous_test_result</a>
|
82
|
+
|
83
|
+
<li ><a href="#method-c-get_test_result">::get_test_result</a>
|
84
|
+
|
85
|
+
<li ><a href="#method-c-test_run_data">::test_run_data</a>
|
86
|
+
|
87
|
+
<li ><a href="#method-c-test_run_id">::test_run_id</a>
|
88
|
+
|
89
|
+
<li ><a href="#method-c-test_run_id-3D">::test_run_id=</a>
|
90
|
+
|
91
|
+
<li ><a href="#method-c-test_run_name">::test_run_name</a>
|
92
|
+
|
93
|
+
</ul>
|
94
|
+
</div>
|
95
|
+
|
96
|
+
</div>
|
97
|
+
</nav>
|
98
|
+
|
99
|
+
<main role="main" aria-labelledby="class-TestRail::Connection">
|
100
|
+
<h1 id="class-TestRail::Connection" class="class">
|
101
|
+
class TestRail::Connection
|
102
|
+
</h1>
|
103
|
+
|
104
|
+
<section class="description">
|
105
|
+
|
106
|
+
</section>
|
107
|
+
|
108
|
+
|
109
|
+
|
110
|
+
|
111
|
+
<section id="5Buntitled-5D" class="documentation-section">
|
112
|
+
|
113
|
+
|
114
|
+
|
115
|
+
|
116
|
+
|
117
|
+
|
118
|
+
|
119
|
+
|
120
|
+
|
121
|
+
<section id="public-class-5Buntitled-5D-method-details" class="method-section">
|
122
|
+
<header>
|
123
|
+
<h3>Public Class Methods</h3>
|
124
|
+
</header>
|
125
|
+
|
126
|
+
|
127
|
+
<div id="method-c-cases_id" class="method-detail ">
|
128
|
+
|
129
|
+
<div class="method-heading">
|
130
|
+
<span class="method-name">cases_id</span><span
|
131
|
+
class="method-args">(test_run_id)</span>
|
132
|
+
|
133
|
+
<span class="method-click-advice">click to toggle source</span>
|
134
|
+
|
135
|
+
</div>
|
136
|
+
|
137
|
+
|
138
|
+
<div class="method-description">
|
139
|
+
|
140
|
+
<p>Get ID of all test cases from current test run</p>
|
141
|
+
|
142
|
+
<p>cases = client.send_get(“get_tests/12”)</p>
|
143
|
+
|
144
|
+
|
145
|
+
|
146
|
+
|
147
|
+
<div class="method-source-code" id="cases_id-source">
|
148
|
+
<pre><span class="ruby-comment"># File lib/test_rail_integration/generator/connection.rb, line 61</span>
|
149
|
+
<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">cases_id</span>(<span class="ruby-identifier">test_run_id</span>)
|
150
|
+
<span class="ruby-identifier">cases</span> = <span class="ruby-identifier">client</span>.<span class="ruby-identifier">send_get</span>(<span class="ruby-node">"get_tests/#{test_run_id}"</span>)
|
151
|
+
<span class="ruby-identifier">cases</span>.<span class="ruby-identifier">map</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">test_case</span><span class="ruby-operator">|</span> <span class="ruby-identifier">test_case</span>[<span class="ruby-string">"case_id"</span>] }
|
152
|
+
<span class="ruby-keyword">end</span></pre>
|
153
|
+
</div>
|
154
|
+
|
155
|
+
</div>
|
156
|
+
|
157
|
+
|
158
|
+
|
159
|
+
|
160
|
+
</div>
|
161
|
+
|
162
|
+
|
163
|
+
<div id="method-c-change_test_run_name" class="method-detail ">
|
164
|
+
|
165
|
+
<div class="method-heading">
|
166
|
+
<span class="method-name">change_test_run_name</span><span
|
167
|
+
class="method-args">()</span>
|
168
|
+
|
169
|
+
<span class="method-click-advice">click to toggle source</span>
|
170
|
+
|
171
|
+
</div>
|
172
|
+
|
173
|
+
|
174
|
+
<div class="method-description">
|
175
|
+
|
176
|
+
<p>Changing name of test run from <test run name> in progress to
|
177
|
+
<test run name></p>
|
178
|
+
|
179
|
+
<p>VN LIVE_TEST in progress => VN LIVE_TEST</p>
|
180
|
+
|
181
|
+
|
182
|
+
|
183
|
+
|
184
|
+
<div class="method-source-code" id="change_test_run_name-source">
|
185
|
+
<pre><span class="ruby-comment"># File lib/test_rail_integration/generator/connection.rb, line 99</span>
|
186
|
+
<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">change_test_run_name</span>
|
187
|
+
<span class="ruby-identifier">new_name</span> = <span class="ruby-identifier">test_run_name</span>.<span class="ruby-identifier">gsub</span>(<span class="ruby-constant">IN_PROGRESS</span>, <span class="ruby-string">""</span>)
|
188
|
+
<span class="ruby-identifier">client</span>.<span class="ruby-identifier">send_post</span>(<span class="ruby-node">"update_run/#{test_run_id}"</span>, { <span class="ruby-identifier">name</span><span class="ruby-operator">:</span> <span class="ruby-identifier">new_name</span> })
|
189
|
+
<span class="ruby-keyword">end</span></pre>
|
190
|
+
</div>
|
191
|
+
|
192
|
+
</div>
|
193
|
+
|
194
|
+
|
195
|
+
|
196
|
+
|
197
|
+
</div>
|
198
|
+
|
199
|
+
|
200
|
+
<div id="method-c-client" class="method-detail ">
|
201
|
+
|
202
|
+
<div class="method-heading">
|
203
|
+
<span class="method-name">client</span><span
|
204
|
+
class="method-args">()</span>
|
205
|
+
|
206
|
+
<span class="method-click-advice">click to toggle source</span>
|
207
|
+
|
208
|
+
</div>
|
209
|
+
|
210
|
+
|
211
|
+
<div class="method-description">
|
212
|
+
|
213
|
+
<p>Creates connection to <a href="../TestRail.html">TestRail</a> server</p>
|
214
|
+
|
215
|
+
<p>client = <a
|
216
|
+
href="APIClient.html#method-c-new">TestRail::APIClient.new</a>('<TestRail
|
217
|
+
server>',“<User email>”,“<User password>”)</p>
|
218
|
+
|
219
|
+
|
220
|
+
|
221
|
+
|
222
|
+
<div class="method-source-code" id="client-source">
|
223
|
+
<pre><span class="ruby-comment"># File lib/test_rail_integration/generator/connection.rb, line 22</span>
|
224
|
+
<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">client</span>
|
225
|
+
<span class="ruby-ivar">@client_test_rail</span> <span class="ruby-operator">||=</span> <span class="ruby-constant">TestRail</span><span class="ruby-operator">::</span><span class="ruby-constant">APIClient</span>.<span class="ruby-identifier">new</span>(<span class="ruby-constant">CONNECTION_DATA</span>)
|
226
|
+
<span class="ruby-keyword">end</span></pre>
|
227
|
+
</div>
|
228
|
+
|
229
|
+
</div>
|
230
|
+
|
231
|
+
|
232
|
+
|
233
|
+
|
234
|
+
</div>
|
235
|
+
|
236
|
+
|
237
|
+
<div id="method-c-commit_test_result" class="method-detail ">
|
238
|
+
|
239
|
+
<div class="method-heading">
|
240
|
+
<span class="method-name">commit_test_result</span><span
|
241
|
+
class="method-args">(test_case_result)</span>
|
242
|
+
|
243
|
+
<span class="method-click-advice">click to toggle source</span>
|
244
|
+
|
245
|
+
</div>
|
246
|
+
|
247
|
+
|
248
|
+
<div class="method-description">
|
249
|
+
|
250
|
+
<p>Send test result to <a href="../TestRail.html">TestRail</a> for current
|
251
|
+
test run client.send_post(“add_result_for_case/<number_of test
|
252
|
+
run>/<test case id>”, <result that pushes>)</p>
|
253
|
+
|
254
|
+
<p>client.send_post(“add_result_for_case/12/3131”, status_id: '1',
|
255
|
+
comment: “Test passed” )</p>
|
256
|
+
|
257
|
+
|
258
|
+
|
259
|
+
|
260
|
+
<div class="method-source-code" id="commit_test_result-source">
|
261
|
+
<pre><span class="ruby-comment"># File lib/test_rail_integration/generator/connection.rb, line 32</span>
|
262
|
+
<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">commit_test_result</span>(<span class="ruby-identifier">test_case_result</span>)
|
263
|
+
<span class="ruby-identifier">client</span>.<span class="ruby-identifier">send_post</span>(<span class="ruby-node">"add_result_for_case/#{TEST_RUN_ID}/#{test_case_result.test_case_id}"</span>, <span class="ruby-identifier">test_case_result</span>.<span class="ruby-identifier">to_test_rail_api</span>)
|
264
|
+
<span class="ruby-keyword">end</span></pre>
|
265
|
+
</div>
|
266
|
+
|
267
|
+
</div>
|
268
|
+
|
269
|
+
|
270
|
+
|
271
|
+
|
272
|
+
</div>
|
273
|
+
|
274
|
+
|
275
|
+
<div id="method-c-get_previous_test_result" class="method-detail ">
|
276
|
+
|
277
|
+
<div class="method-heading">
|
278
|
+
<span class="method-name">get_previous_test_result</span><span
|
279
|
+
class="method-args">(case_id)</span>
|
280
|
+
|
281
|
+
<span class="method-click-advice">click to toggle source</span>
|
282
|
+
|
283
|
+
</div>
|
284
|
+
|
285
|
+
|
286
|
+
<div class="method-description">
|
287
|
+
|
288
|
+
<p>Parse results and returns Failed if this test was marked as failed.</p>
|
289
|
+
|
290
|
+
|
291
|
+
|
292
|
+
|
293
|
+
<div class="method-source-code" id="get_previous_test_result-source">
|
294
|
+
<pre><span class="ruby-comment"># File lib/test_rail_integration/generator/connection.rb, line 48</span>
|
295
|
+
<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">get_previous_test_result</span>(<span class="ruby-identifier">case_id</span>)
|
296
|
+
<span class="ruby-identifier">test_results</span> = <span class="ruby-identifier">get_test_result</span>(<span class="ruby-identifier">case_id</span>).<span class="ruby-identifier">map</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">status_hash</span><span class="ruby-operator">|</span> <span class="ruby-identifier">status_hash</span>[<span class="ruby-string">"status_id"</span>] }
|
297
|
+
<span class="ruby-identifier">status</span> = <span class="ruby-constant">TestCaseResult</span><span class="ruby-operator">::</span><span class="ruby-constant">FAILED</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">test_results</span>.<span class="ruby-identifier">include?</span>(<span class="ruby-constant">TestCaseResult</span><span class="ruby-operator">::</span><span class="ruby-constant">FAILED</span>)
|
298
|
+
<span class="ruby-identifier">status</span> <span class="ruby-operator">||=</span> <span class="ruby-constant">TestCaseResult</span><span class="ruby-operator">::</span><span class="ruby-constant">PASS</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">test_results</span>.<span class="ruby-identifier">first</span> <span class="ruby-operator">==</span> <span class="ruby-constant">TestCaseResult</span><span class="ruby-operator">::</span><span class="ruby-constant">PASS</span>
|
299
|
+
<span class="ruby-identifier">status</span> <span class="ruby-operator">||=</span> <span class="ruby-constant">TestCaseResult</span><span class="ruby-operator">::</span><span class="ruby-constant">NEW</span>
|
300
|
+
<span class="ruby-identifier">status</span>
|
301
|
+
<span class="ruby-keyword">end</span></pre>
|
302
|
+
</div>
|
303
|
+
|
304
|
+
</div>
|
305
|
+
|
306
|
+
|
307
|
+
|
308
|
+
|
309
|
+
</div>
|
310
|
+
|
311
|
+
|
312
|
+
<div id="method-c-get_test_result" class="method-detail ">
|
313
|
+
|
314
|
+
<div class="method-heading">
|
315
|
+
<span class="method-name">get_test_result</span><span
|
316
|
+
class="method-args">(case_id)</span>
|
317
|
+
|
318
|
+
<span class="method-click-advice">click to toggle source</span>
|
319
|
+
|
320
|
+
</div>
|
321
|
+
|
322
|
+
|
323
|
+
<div class="method-description">
|
324
|
+
|
325
|
+
<p>Obtaining of all previous test results for current test case</p>
|
326
|
+
|
327
|
+
<p>client.send_get(“get_results_for_case/12/3534”)</p>
|
328
|
+
|
329
|
+
|
330
|
+
|
331
|
+
|
332
|
+
<div class="method-source-code" id="get_test_result-source">
|
333
|
+
<pre><span class="ruby-comment"># File lib/test_rail_integration/generator/connection.rb, line 41</span>
|
334
|
+
<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">get_test_result</span>(<span class="ruby-identifier">case_id</span>)
|
335
|
+
<span class="ruby-identifier">client</span>.<span class="ruby-identifier">send_get</span>(<span class="ruby-node">"get_results_for_case/#{test_run_id}/#{case_id}"</span>)
|
336
|
+
<span class="ruby-keyword">end</span></pre>
|
337
|
+
</div>
|
338
|
+
|
339
|
+
</div>
|
340
|
+
|
341
|
+
|
342
|
+
|
343
|
+
|
344
|
+
</div>
|
345
|
+
|
346
|
+
|
347
|
+
<div id="method-c-test_run_data" class="method-detail ">
|
348
|
+
|
349
|
+
<div class="method-heading">
|
350
|
+
<span class="method-name">test_run_data</span><span
|
351
|
+
class="method-args">()</span>
|
352
|
+
|
353
|
+
<span class="method-click-advice">click to toggle source</span>
|
354
|
+
|
355
|
+
</div>
|
356
|
+
|
357
|
+
|
358
|
+
<div class="method-description">
|
359
|
+
|
360
|
+
<p>Getting information about test run</p>
|
361
|
+
|
362
|
+
|
363
|
+
|
364
|
+
|
365
|
+
<div class="method-source-code" id="test_run_data-source">
|
366
|
+
<pre><span class="ruby-comment"># File lib/test_rail_integration/generator/connection.rb, line 83</span>
|
367
|
+
<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">test_run_data</span>
|
368
|
+
<span class="ruby-identifier">client</span>.<span class="ruby-identifier">send_get</span>(<span class="ruby-node">"get_run/#{test_run_id}"</span>)
|
369
|
+
<span class="ruby-keyword">end</span></pre>
|
370
|
+
</div>
|
371
|
+
|
372
|
+
</div>
|
373
|
+
|
374
|
+
|
375
|
+
|
376
|
+
|
377
|
+
</div>
|
378
|
+
|
379
|
+
|
380
|
+
<div id="method-c-test_run_id" class="method-detail ">
|
381
|
+
|
382
|
+
<div class="method-heading">
|
383
|
+
<span class="method-name">test_run_id</span><span
|
384
|
+
class="method-args">()</span>
|
385
|
+
|
386
|
+
<span class="method-click-advice">click to toggle source</span>
|
387
|
+
|
388
|
+
</div>
|
389
|
+
|
390
|
+
|
391
|
+
<div class="method-description">
|
392
|
+
|
393
|
+
<p>Getting test run id value</p>
|
394
|
+
|
395
|
+
|
396
|
+
|
397
|
+
|
398
|
+
<div class="method-source-code" id="test_run_id-source">
|
399
|
+
<pre><span class="ruby-comment"># File lib/test_rail_integration/generator/connection.rb, line 76</span>
|
400
|
+
<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">test_run_id</span>
|
401
|
+
<span class="ruby-ivar">@test_run_id</span> <span class="ruby-operator">||=</span> <span class="ruby-constant">TEST_RUN_ID</span>
|
402
|
+
<span class="ruby-keyword">end</span></pre>
|
403
|
+
</div>
|
404
|
+
|
405
|
+
</div>
|
406
|
+
|
407
|
+
|
408
|
+
|
409
|
+
|
410
|
+
</div>
|
411
|
+
|
412
|
+
|
413
|
+
<div id="method-c-test_run_id-3D" class="method-detail ">
|
414
|
+
|
415
|
+
<div class="method-heading">
|
416
|
+
<span class="method-name">test_run_id=</span><span
|
417
|
+
class="method-args">(test_run_id)</span>
|
418
|
+
|
419
|
+
<span class="method-click-advice">click to toggle source</span>
|
420
|
+
|
421
|
+
</div>
|
422
|
+
|
423
|
+
|
424
|
+
<div class="method-description">
|
425
|
+
|
426
|
+
<p>Setting up test run id</p>
|
427
|
+
|
428
|
+
|
429
|
+
|
430
|
+
|
431
|
+
<div class="method-source-code" id="test_run_id-3D-source">
|
432
|
+
<pre><span class="ruby-comment"># File lib/test_rail_integration/generator/connection.rb, line 69</span>
|
433
|
+
<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">test_run_id=</span>(<span class="ruby-identifier">test_run_id</span>)
|
434
|
+
<span class="ruby-ivar">@test_run_id</span> = <span class="ruby-identifier">test_run_id</span>
|
435
|
+
<span class="ruby-keyword">end</span></pre>
|
436
|
+
</div>
|
437
|
+
|
438
|
+
</div>
|
439
|
+
|
440
|
+
|
441
|
+
|
442
|
+
|
443
|
+
</div>
|
444
|
+
|
445
|
+
|
446
|
+
<div id="method-c-test_run_name" class="method-detail ">
|
447
|
+
|
448
|
+
<div class="method-heading">
|
449
|
+
<span class="method-name">test_run_name</span><span
|
450
|
+
class="method-args">()</span>
|
451
|
+
|
452
|
+
<span class="method-click-advice">click to toggle source</span>
|
453
|
+
|
454
|
+
</div>
|
455
|
+
|
456
|
+
|
457
|
+
<div class="method-description">
|
458
|
+
|
459
|
+
<p>Get test run name</p>
|
460
|
+
|
461
|
+
|
462
|
+
|
463
|
+
|
464
|
+
<div class="method-source-code" id="test_run_name-source">
|
465
|
+
<pre><span class="ruby-comment"># File lib/test_rail_integration/generator/connection.rb, line 90</span>
|
466
|
+
<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">test_run_name</span>
|
467
|
+
<span class="ruby-identifier">test_run_data</span>[<span class="ruby-string">"name"</span>]
|
468
|
+
<span class="ruby-keyword">end</span></pre>
|
469
|
+
</div>
|
470
|
+
|
471
|
+
</div>
|
472
|
+
|
473
|
+
|
474
|
+
|
475
|
+
|
476
|
+
</div>
|
477
|
+
|
478
|
+
|
479
|
+
</section>
|
480
|
+
|
481
|
+
</section>
|
482
|
+
</main>
|
483
|
+
|
484
|
+
|
485
|
+
<footer id="validator-badges" role="contentinfo">
|
486
|
+
<p><a href="http://validator.w3.org/check/referer">Validate</a>
|
487
|
+
<p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.2.0.
|
488
|
+
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
489
|
+
</footer>
|
490
|
+
|
@@ -0,0 +1,95 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<meta charset="UTF-8">
|
6
|
+
|
7
|
+
<title>module TestRail::Generators - RDoc Documentation</title>
|
8
|
+
|
9
|
+
<script type="text/javascript">
|
10
|
+
var rdoc_rel_prefix = "../";
|
11
|
+
</script>
|
12
|
+
|
13
|
+
<script src="../js/jquery.js"></script>
|
14
|
+
<script src="../js/darkfish.js"></script>
|
15
|
+
|
16
|
+
<link href="../css/fonts.css" rel="stylesheet">
|
17
|
+
<link href="../css/rdoc.css" rel="stylesheet">
|
18
|
+
|
19
|
+
|
20
|
+
|
21
|
+
<body id="top" role="document" class="module">
|
22
|
+
<nav role="navigation">
|
23
|
+
<div id="project-navigation">
|
24
|
+
<div id="home-section" role="region" title="Quick navigation" class="nav-section">
|
25
|
+
<h2>
|
26
|
+
<a href="../index.html" rel="home">Home</a>
|
27
|
+
</h2>
|
28
|
+
|
29
|
+
<div id="table-of-contents-navigation">
|
30
|
+
<a href="../table_of_contents.html#pages">Pages</a>
|
31
|
+
<a href="../table_of_contents.html#classes">Classes</a>
|
32
|
+
<a href="../table_of_contents.html#methods">Methods</a>
|
33
|
+
</div>
|
34
|
+
</div>
|
35
|
+
|
36
|
+
<div id="search-section" role="search" class="project-section initially-hidden">
|
37
|
+
<form action="#" method="get" accept-charset="utf-8">
|
38
|
+
<div id="search-field-wrapper">
|
39
|
+
<input id="search-field" role="combobox" aria-label="Search"
|
40
|
+
aria-autocomplete="list" aria-controls="search-results"
|
41
|
+
type="text" name="search" placeholder="Search" spellcheck="false"
|
42
|
+
title="Type to search, Up and Down to navigate, Enter to load">
|
43
|
+
</div>
|
44
|
+
|
45
|
+
<ul id="search-results" aria-label="Search Results"
|
46
|
+
aria-busy="false" aria-expanded="false"
|
47
|
+
aria-atomic="false" class="initially-hidden"></ul>
|
48
|
+
</form>
|
49
|
+
</div>
|
50
|
+
|
51
|
+
</div>
|
52
|
+
|
53
|
+
|
54
|
+
|
55
|
+
<div id="class-metadata">
|
56
|
+
|
57
|
+
|
58
|
+
|
59
|
+
|
60
|
+
|
61
|
+
</div>
|
62
|
+
</nav>
|
63
|
+
|
64
|
+
<main role="main" aria-labelledby="module-TestRail::Generators">
|
65
|
+
<h1 id="module-TestRail::Generators" class="module">
|
66
|
+
module TestRail::Generators
|
67
|
+
</h1>
|
68
|
+
|
69
|
+
<section class="description">
|
70
|
+
|
71
|
+
</section>
|
72
|
+
|
73
|
+
|
74
|
+
|
75
|
+
|
76
|
+
<section id="5Buntitled-5D" class="documentation-section">
|
77
|
+
|
78
|
+
|
79
|
+
|
80
|
+
|
81
|
+
|
82
|
+
|
83
|
+
|
84
|
+
|
85
|
+
|
86
|
+
</section>
|
87
|
+
</main>
|
88
|
+
|
89
|
+
|
90
|
+
<footer id="validator-badges" role="contentinfo">
|
91
|
+
<p><a href="http://validator.w3.org/check/referer">Validate</a>
|
92
|
+
<p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.2.0.
|
93
|
+
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
94
|
+
</footer>
|
95
|
+
|