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.
Files changed (86) hide show
  1. checksums.yaml +4 -4
  2. data/doc/Gemfile.html +93 -0
  3. data/doc/Gemfile_lock.html +109 -0
  4. data/doc/LICENSE_txt.html +109 -0
  5. data/doc/README_md.html +150 -0
  6. data/doc/Rakefile.html +91 -0
  7. data/doc/TestRail/APIClient.html +295 -0
  8. data/doc/TestRail/APIError.html +102 -0
  9. data/doc/TestRail/Connection.html +490 -0
  10. data/doc/TestRail/Generators.html +95 -0
  11. data/doc/TestRail/Hook.html +274 -0
  12. data/doc/TestRail/TestCaseResult.html +265 -0
  13. data/doc/TestRail/TestRailDataLoad.html +153 -0
  14. data/doc/TestRail/TestRailTools.html +242 -0
  15. data/doc/TestRail/TestRunParameters.html +194 -0
  16. data/doc/TestRail.html +95 -0
  17. data/doc/TestRailIntegration/CLI.html +154 -0
  18. data/doc/TestRailIntegration/TestTail/Generators/Project.html +241 -0
  19. data/doc/TestRailIntegration/TestTail/Generators.html +95 -0
  20. data/doc/TestRailIntegration/TestTail.html +95 -0
  21. data/doc/TestRailIntegration.html +109 -0
  22. data/doc/bin/test_rail_integration.html +54 -0
  23. data/doc/created.rid +22 -0
  24. data/doc/css/fonts.css +167 -0
  25. data/doc/css/rdoc.css +590 -0
  26. data/doc/fonts/Lato-Light.ttf +0 -0
  27. data/doc/fonts/Lato-LightItalic.ttf +0 -0
  28. data/doc/fonts/Lato-Regular.ttf +0 -0
  29. data/doc/fonts/Lato-RegularItalic.ttf +0 -0
  30. data/doc/fonts/SourceCodePro-Bold.ttf +0 -0
  31. data/doc/fonts/SourceCodePro-Regular.ttf +0 -0
  32. data/doc/images/add.png +0 -0
  33. data/doc/images/arrow_up.png +0 -0
  34. data/doc/images/brick.png +0 -0
  35. data/doc/images/brick_link.png +0 -0
  36. data/doc/images/bug.png +0 -0
  37. data/doc/images/bullet_black.png +0 -0
  38. data/doc/images/bullet_toggle_minus.png +0 -0
  39. data/doc/images/bullet_toggle_plus.png +0 -0
  40. data/doc/images/date.png +0 -0
  41. data/doc/images/delete.png +0 -0
  42. data/doc/images/find.png +0 -0
  43. data/doc/images/loadingAnimation.gif +0 -0
  44. data/doc/images/macFFBgHack.png +0 -0
  45. data/doc/images/package.png +0 -0
  46. data/doc/images/page_green.png +0 -0
  47. data/doc/images/page_white_text.png +0 -0
  48. data/doc/images/page_white_width.png +0 -0
  49. data/doc/images/plugin.png +0 -0
  50. data/doc/images/ruby.png +0 -0
  51. data/doc/images/tag_blue.png +0 -0
  52. data/doc/images/tag_green.png +0 -0
  53. data/doc/images/transparent.png +0 -0
  54. data/doc/images/wrench.png +0 -0
  55. data/doc/images/wrench_orange.png +0 -0
  56. data/doc/images/zoom.png +0 -0
  57. data/doc/index.html +125 -0
  58. data/doc/js/darkfish.js +161 -0
  59. data/doc/js/jquery.js +4 -0
  60. data/doc/js/navigation.js +142 -0
  61. data/doc/js/navigation.js.gz +0 -0
  62. data/doc/js/quicksearch.js +114 -0
  63. data/doc/js/search.js +109 -0
  64. data/doc/js/search_index.js +1 -0
  65. data/doc/js/search_index.js.gz +0 -0
  66. data/doc/js/searcher.js +228 -0
  67. data/doc/js/searcher.js.gz +0 -0
  68. data/doc/js/thickbox-compressed.js +10 -0
  69. data/doc/lib/test_rail_integration/cli_rb.html +54 -0
  70. data/doc/lib/test_rail_integration/generator/API_client_rb.html +70 -0
  71. data/doc/lib/test_rail_integration/generator/connection_rb.html +52 -0
  72. data/doc/lib/test_rail_integration/generator/project/run_test_run_rb.html +54 -0
  73. data/doc/lib/test_rail_integration/generator/project_rb.html +56 -0
  74. data/doc/lib/test_rail_integration/generator/test_case_result_rb.html +52 -0
  75. data/doc/lib/test_rail_integration/generator/test_rail_hooks_rb.html +52 -0
  76. data/doc/lib/test_rail_integration/generator/test_rail_tools_rb.html +54 -0
  77. data/doc/lib/test_rail_integration/generator/test_run_parameters_rb.html +52 -0
  78. data/doc/lib/test_rail_integration/version_rb.html +52 -0
  79. data/doc/lib/test_rail_integration_rb.html +56 -0
  80. data/doc/rdoc.css +763 -0
  81. data/doc/table_of_contents.html +252 -0
  82. data/doc/test_rail_integration_gemspec.html +117 -0
  83. data/lib/test_rail_integration/generator/project/test_rail_data.yml +2 -2
  84. data/lib/test_rail_integration/generator/test_case_result.rb +1 -1
  85. data/lib/test_rail_integration/version.rb +1 -1
  86. metadata +83 -2
@@ -0,0 +1,153 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta charset="UTF-8">
6
+
7
+ <title>class TestRail::TestRailDataLoad - 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-test_rail_data">::test_rail_data</a>
74
+
75
+ </ul>
76
+ </div>
77
+
78
+ </div>
79
+ </nav>
80
+
81
+ <main role="main" aria-labelledby="class-TestRail::TestRailDataLoad">
82
+ <h1 id="class-TestRail::TestRailDataLoad" class="class">
83
+ class TestRail::TestRailDataLoad
84
+ </h1>
85
+
86
+ <section class="description">
87
+
88
+ </section>
89
+
90
+
91
+
92
+
93
+ <section id="5Buntitled-5D" class="documentation-section">
94
+
95
+
96
+
97
+
98
+
99
+
100
+
101
+
102
+
103
+ <section id="public-class-5Buntitled-5D-method-details" class="method-section">
104
+ <header>
105
+ <h3>Public Class Methods</h3>
106
+ </header>
107
+
108
+
109
+ <div id="method-c-test_rail_data" class="method-detail ">
110
+
111
+ <div class="method-heading">
112
+ <span class="method-name">test_rail_data</span><span
113
+ class="method-args">()</span>
114
+
115
+ <span class="method-click-advice">click to toggle source</span>
116
+
117
+ </div>
118
+
119
+
120
+ <div class="method-description">
121
+
122
+ <p>Loading of test rail information</p>
123
+
124
+
125
+
126
+
127
+ <div class="method-source-code" id="test_rail_data-source">
128
+ <pre><span class="ruby-comment"># File lib/test_rail_integration/generator/test_rail_data_load.rb, line 10</span>
129
+ <span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">test_rail_data</span>
130
+ <span class="ruby-constant">YAML</span>.<span class="ruby-identifier">load</span>(<span class="ruby-constant">File</span>.<span class="ruby-identifier">open</span>(<span class="ruby-constant">CONFIG_PATH</span>))
131
+ <span class="ruby-keyword">end</span></pre>
132
+ </div>
133
+
134
+ </div>
135
+
136
+
137
+
138
+
139
+ </div>
140
+
141
+
142
+ </section>
143
+
144
+ </section>
145
+ </main>
146
+
147
+
148
+ <footer id="validator-badges" role="contentinfo">
149
+ <p><a href="http://validator.w3.org/check/referer">Validate</a>
150
+ <p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.2.0.
151
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
152
+ </footer>
153
+
@@ -0,0 +1,242 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta charset="UTF-8">
6
+
7
+ <title>class TestRail::TestRailTools - 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-generate_cucumber_execution_file">::generate_cucumber_execution_file</a>
74
+
75
+ <li ><a href="#method-c-prepare_config">::prepare_config</a>
76
+
77
+ <li ><a href="#method-c-write_test_run_id">::write_test_run_id</a>
78
+
79
+ </ul>
80
+ </div>
81
+
82
+ </div>
83
+ </nav>
84
+
85
+ <main role="main" aria-labelledby="class-TestRail::TestRailTools">
86
+ <h1 id="class-TestRail::TestRailTools" class="class">
87
+ class TestRail::TestRailTools
88
+ </h1>
89
+
90
+ <section class="description">
91
+
92
+ </section>
93
+
94
+
95
+
96
+
97
+ <section id="5Buntitled-5D" class="documentation-section">
98
+
99
+
100
+
101
+
102
+
103
+
104
+
105
+
106
+
107
+ <section id="public-class-5Buntitled-5D-method-details" class="method-section">
108
+ <header>
109
+ <h3>Public Class Methods</h3>
110
+ </header>
111
+
112
+
113
+ <div id="method-c-generate_cucumber_execution_file" class="method-detail ">
114
+
115
+ <div class="method-heading">
116
+ <span class="method-name">generate_cucumber_execution_file</span><span
117
+ class="method-args">(id_of_run)</span>
118
+
119
+ <span class="method-click-advice">click to toggle source</span>
120
+
121
+ </div>
122
+
123
+
124
+ <div class="method-description">
125
+
126
+ <p>Method generates executable cucumber file</p>
127
+
128
+ <p><a
129
+ href="TestRailTools.html#method-c-generate_cucumber_execution_file">::generate_cucumber_execution_file</a>(2)</p>
130
+
131
+ <p>cucumber -p lazada.vn.live_test TESTRAIL=1 –color -f json -o cucumber.json
132
+ -t @C6162,@C6163,@C6164</p>
133
+
134
+ <p>change this method for create your own cucumber executable</p>
135
+
136
+
137
+
138
+
139
+ <div class="method-source-code" id="generate_cucumber_execution_file-source">
140
+ <pre><span class="ruby-comment"># File lib/test_rail_integration/generator/test_rail_tools.rb, line 17</span>
141
+ <span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">generate_cucumber_execution_file</span>(<span class="ruby-identifier">id_of_run</span>)
142
+ <span class="ruby-identifier">parameters</span> = <span class="ruby-constant">TestRunParameters</span>.<span class="ruby-identifier">new</span>
143
+ <span class="ruby-identifier">command</span> = <span class="ruby-node">&quot;cucumber -p lazada.#{parameters.venture}.#{parameters.environment} TESTRAIL=1 --color -f json -o cucumber.json -t &quot;</span> <span class="ruby-operator">+</span> <span class="ruby-constant">Connection</span>.<span class="ruby-identifier">cases_id</span>(<span class="ruby-identifier">id_of_run</span>).<span class="ruby-identifier">map</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">id</span><span class="ruby-operator">|</span> <span class="ruby-string">&quot;@C&quot;</span><span class="ruby-operator">+</span><span class="ruby-identifier">id</span>.<span class="ruby-identifier">to_s</span> }.<span class="ruby-identifier">join</span>(<span class="ruby-string">&quot;,&quot;</span>)
144
+ <span class="ruby-identifier">cucumber_file</span> = <span class="ruby-constant">File</span>.<span class="ruby-identifier">new</span>(<span class="ruby-string">&quot;cucumber_run.sh&quot;</span>, <span class="ruby-string">&quot;w&quot;</span>)
145
+ <span class="ruby-identifier">cucumber_file</span>.<span class="ruby-identifier">chmod</span>(<span class="ruby-value">0700</span>)
146
+ <span class="ruby-identifier">cucumber_file</span>.<span class="ruby-identifier">write</span>(<span class="ruby-node">&quot;#!/bin/sh\n&quot;</span>)
147
+ <span class="ruby-identifier">cucumber_file</span>.<span class="ruby-identifier">write</span>(<span class="ruby-identifier">command</span>)
148
+ <span class="ruby-identifier">cucumber_file</span>.<span class="ruby-identifier">close</span>
149
+ <span class="ruby-keyword">end</span></pre>
150
+ </div>
151
+
152
+ </div>
153
+
154
+
155
+
156
+
157
+ </div>
158
+
159
+
160
+ <div id="method-c-prepare_config" class="method-detail ">
161
+
162
+ <div class="method-heading">
163
+ <span class="method-name">prepare_config</span><span
164
+ class="method-args">(run_id)</span>
165
+
166
+ <span class="method-click-advice">click to toggle source</span>
167
+
168
+ </div>
169
+
170
+
171
+ <div class="method-description">
172
+
173
+ <p>Preparation for create right cucumber executable file</p>
174
+
175
+
176
+
177
+
178
+ <div class="method-source-code" id="prepare_config-source">
179
+ <pre><span class="ruby-comment"># File lib/test_rail_integration/generator/test_rail_tools.rb, line 40</span>
180
+ <span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">prepare_config</span>(<span class="ruby-identifier">run_id</span>)
181
+ <span class="ruby-constant">Connection</span>.<span class="ruby-identifier">test_run_id</span> = <span class="ruby-identifier">run_id</span>
182
+ <span class="ruby-identifier">write_test_run_id</span>(<span class="ruby-identifier">run_id</span>)
183
+ <span class="ruby-identifier">generate_cucumber_execution_file</span>(<span class="ruby-identifier">run_id</span>)
184
+ <span class="ruby-keyword">end</span></pre>
185
+ </div>
186
+
187
+ </div>
188
+
189
+
190
+
191
+
192
+ </div>
193
+
194
+
195
+ <div id="method-c-write_test_run_id" class="method-detail ">
196
+
197
+ <div class="method-heading">
198
+ <span class="method-name">write_test_run_id</span><span
199
+ class="method-args">(test_run_id)</span>
200
+
201
+ <span class="method-click-advice">click to toggle source</span>
202
+
203
+ </div>
204
+
205
+
206
+ <div class="method-description">
207
+
208
+ <p>Writing test run ID into test rail data file</p>
209
+
210
+
211
+
212
+
213
+ <div class="method-source-code" id="write_test_run_id-source">
214
+ <pre><span class="ruby-comment"># File lib/test_rail_integration/generator/test_rail_tools.rb, line 30</span>
215
+ <span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">write_test_run_id</span>(<span class="ruby-identifier">test_run_id</span>)
216
+ <span class="ruby-identifier">test_rail_data_file</span> = <span class="ruby-constant">File</span>.<span class="ruby-identifier">read</span>(<span class="ruby-constant">CONFIG_PATH</span>).<span class="ruby-identifier">gsub</span>(<span class="ruby-regexp">/^:test_run_id: \d+/</span>, <span class="ruby-node">&quot;:test_run_id: #{test_run_id}&quot;</span>)
217
+ <span class="ruby-identifier">config_file</span> = <span class="ruby-constant">File</span>.<span class="ruby-identifier">open</span>(<span class="ruby-constant">CONFIG_PATH</span>, <span class="ruby-string">&quot;w&quot;</span>)
218
+ <span class="ruby-identifier">config_file</span>.<span class="ruby-identifier">write</span> (<span class="ruby-identifier">test_rail_data_file</span>)
219
+ <span class="ruby-identifier">config_file</span>.<span class="ruby-identifier">close</span>
220
+ <span class="ruby-keyword">end</span></pre>
221
+ </div>
222
+
223
+ </div>
224
+
225
+
226
+
227
+
228
+ </div>
229
+
230
+
231
+ </section>
232
+
233
+ </section>
234
+ </main>
235
+
236
+
237
+ <footer id="validator-badges" role="contentinfo">
238
+ <p><a href="http://validator.w3.org/check/referer">Validate</a>
239
+ <p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.2.0.
240
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
241
+ </footer>
242
+
@@ -0,0 +1,194 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta charset="UTF-8">
6
+
7
+ <title>class TestRail::TestRunParameters - 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-new">::new</a>
74
+
75
+ </ul>
76
+ </div>
77
+
78
+ </div>
79
+ </nav>
80
+
81
+ <main role="main" aria-labelledby="class-TestRail::TestRunParameters">
82
+ <h1 id="class-TestRail::TestRunParameters" class="class">
83
+ class TestRail::TestRunParameters
84
+ </h1>
85
+
86
+ <section class="description">
87
+
88
+ </section>
89
+
90
+
91
+
92
+
93
+ <section id="5Buntitled-5D" class="documentation-section">
94
+
95
+
96
+
97
+
98
+
99
+
100
+
101
+ <section class="attribute-method-details" class="method-section">
102
+ <header>
103
+ <h3>Attributes</h3>
104
+ </header>
105
+
106
+
107
+ <div id="attribute-i-environment" class="method-detail">
108
+ <div class="method-heading attribute-method-heading">
109
+ <span class="method-name">environment</span><span
110
+ class="attribute-access-type">[RW]</span>
111
+ </div>
112
+
113
+ <div class="method-description">
114
+
115
+
116
+
117
+ </div>
118
+ </div>
119
+
120
+ <div id="attribute-i-venture" class="method-detail">
121
+ <div class="method-heading attribute-method-heading">
122
+ <span class="method-name">venture</span><span
123
+ class="attribute-access-type">[RW]</span>
124
+ </div>
125
+
126
+ <div class="method-description">
127
+
128
+
129
+
130
+ </div>
131
+ </div>
132
+
133
+ </section>
134
+
135
+
136
+
137
+ <section id="public-class-5Buntitled-5D-method-details" class="method-section">
138
+ <header>
139
+ <h3>Public Class Methods</h3>
140
+ </header>
141
+
142
+
143
+ <div id="method-c-new" class="method-detail ">
144
+
145
+ <div class="method-heading">
146
+ <span class="method-name">new</span><span
147
+ class="method-args">()</span>
148
+
149
+ <span class="method-click-advice">click to toggle source</span>
150
+
151
+ </div>
152
+
153
+
154
+ <div class="method-description">
155
+
156
+ <p>Checking of correct naming of created test run and return parameters for
157
+ runnng test run</p>
158
+
159
+
160
+
161
+
162
+ <div class="method-source-code" id="new-source">
163
+ <pre><span class="ruby-comment"># File lib/test_rail_integration/generator/test_run_parameters.rb, line 13</span>
164
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">initialize</span>
165
+ <span class="ruby-identifier">parameters</span> = <span class="ruby-constant">Connection</span>.<span class="ruby-identifier">test_run_name</span>.<span class="ruby-identifier">downcase</span>.<span class="ruby-identifier">match</span>(<span class="ruby-node">/^(#{VENTURE_REGEX}) (#{ENVIRONMENT_REGEX})*/</span>)
166
+ <span class="ruby-keyword">begin</span>
167
+ <span class="ruby-ivar">@venture</span> = <span class="ruby-identifier">parameters</span>[<span class="ruby-value">1</span>]
168
+ <span class="ruby-ivar">@environment</span> = <span class="ruby-identifier">parameters</span>[<span class="ruby-value">2</span>]
169
+ <span class="ruby-keyword">rescue</span> <span class="ruby-constant">Exception</span>
170
+ <span class="ruby-identifier">raise</span> (<span class="ruby-string">&quot;The test run name is not valid. Format: &#39;venture env description&#39;&quot;</span>)
171
+ <span class="ruby-keyword">end</span>
172
+ <span class="ruby-keyword">end</span></pre>
173
+ </div>
174
+
175
+ </div>
176
+
177
+
178
+
179
+
180
+ </div>
181
+
182
+
183
+ </section>
184
+
185
+ </section>
186
+ </main>
187
+
188
+
189
+ <footer id="validator-badges" role="contentinfo">
190
+ <p><a href="http://validator.w3.org/check/referer">Validate</a>
191
+ <p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.2.0.
192
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
193
+ </footer>
194
+
data/doc/TestRail.html ADDED
@@ -0,0 +1,95 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta charset="UTF-8">
6
+
7
+ <title>module TestRail - 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">
65
+ <h1 id="module-TestRail" class="module">
66
+ module TestRail
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
+