testmgr 0.1.0 → 0.2.0.pre
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/.idea/testmgr.iml +2 -14
- data/README.md +8 -0
- data/lib/testmgr/base/general_user.rb +3 -3
- data/lib/testmgr/base/test_case.rb +18 -1
- data/lib/testmgr/base/test_composite.rb +21 -0
- data/lib/testmgr/base/test_report.rb +90 -52
- data/lib/testmgr/version.rb +1 -1
- metadata +7 -35
- data/lib/testmgr/base/testmgr/.gitignore +0 -9
- data/lib/testmgr/base/testmgr/.rspec +0 -2
- data/lib/testmgr/base/testmgr/.travis.yml +0 -4
- data/lib/testmgr/base/testmgr/CODE_OF_CONDUCT.md +0 -13
- data/lib/testmgr/base/testmgr/Gemfile +0 -4
- data/lib/testmgr/base/testmgr/LICENSE.txt +0 -21
- data/lib/testmgr/base/testmgr/README.md +0 -41
- data/lib/testmgr/base/testmgr/Rakefile +0 -6
- data/lib/testmgr/base/testmgr/bin/console +0 -14
- data/lib/testmgr/base/testmgr/bin/setup +0 -7
- data/lib/testmgr/base/testmgr/lib/testmgr.rb +0 -5
- data/lib/testmgr/base/testmgr/lib/testmgr/version.rb +0 -3
- data/lib/testmgr/base/testmgr/spec/spec_helper.rb +0 -2
- data/lib/testmgr/base/testmgr/spec/testmgr_spec.rb +0 -8
- data/lib/testmgr/base/testmgr/testmgr.gemspec +0 -33
- data/testmgr/.gitignore +0 -9
- data/testmgr/.rspec +0 -2
- data/testmgr/.travis.yml +0 -4
- data/testmgr/CODE_OF_CONDUCT.md +0 -13
- data/testmgr/Gemfile +0 -4
- data/testmgr/LICENSE.txt +0 -21
- data/testmgr/README.md +0 -41
- data/testmgr/Rakefile +0 -6
- data/testmgr/bin/console +0 -14
- data/testmgr/bin/setup +0 -7
- data/testmgr/lib/testmgr.rb +0 -5
- data/testmgr/lib/testmgr/version.rb +0 -3
- data/testmgr/spec/spec_helper.rb +0 -2
- data/testmgr/spec/testmgr_spec.rb +0 -11
- data/testmgr/testmgr.gemspec +0 -33
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0aacd3e9a5b346fa16f03a59a8cbc281ececc21d
|
4
|
+
data.tar.gz: c48ada551fb44a2490f15efc2b7ec861a214e8f9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2a6195981000659fc6ada8d67afd16680bfc1d75a36bf0f182fd5a28b87d43734563f6124d7ffe4245beb68c9f2560b1b78e080205bfab5fd953b7ebf6a10f1b
|
7
|
+
data.tar.gz: b280a20d6ceca9a02d1d7d50c10f7dedcb969a58d15cbd92a26a09d34d2c2a07e80c554ccdd5641e21b6166b86080d0bc5cc0de5aa059cea9f806cb96d3c1131
|
data/.gitignore
CHANGED
data/.idea/testmgr.iml
CHANGED
@@ -13,22 +13,10 @@
|
|
13
13
|
<content url="file://$MODULE_DIR$" />
|
14
14
|
<orderEntry type="inheritedJdk" />
|
15
15
|
<orderEntry type="sourceFolder" forTests="false" />
|
16
|
-
<orderEntry type="
|
17
|
-
<library name="testmgr (v0.1.0, /Users/pkim/h20dragon/testmgr/testmgr) [path][gem]">
|
18
|
-
<CLASSES>
|
19
|
-
<root url="file://$MODULE_DIR$/testmgr/bin" />
|
20
|
-
<root url="file://$MODULE_DIR$/testmgr/lib" />
|
21
|
-
</CLASSES>
|
22
|
-
<SOURCES>
|
23
|
-
<root url="file://$MODULE_DIR$/testmgr/bin" />
|
24
|
-
<root url="file://$MODULE_DIR$/testmgr/lib" />
|
25
|
-
</SOURCES>
|
26
|
-
</library>
|
27
|
-
</orderEntry>
|
28
|
-
<orderEntry type="library" scope="PROVIDED" name="bundler (v1.10.6, ruby-2.0.0-p481) [gem]" level="application" />
|
16
|
+
<orderEntry type="library" scope="PROVIDED" name="bundler (v1.11.2, ruby-2.0.0-p481) [gem]" level="application" />
|
29
17
|
<orderEntry type="library" scope="PROVIDED" name="diff-lcs (v1.2.5, ruby-2.0.0-p481) [gem]" level="application" />
|
30
18
|
<orderEntry type="library" scope="PROVIDED" name="json (v1.8.3, ruby-2.0.0-p481) [gem]" level="application" />
|
31
|
-
<orderEntry type="library" scope="PROVIDED" name="rake (v10.
|
19
|
+
<orderEntry type="library" scope="PROVIDED" name="rake (v10.5.0, ruby-2.0.0-p481) [gem]" level="application" />
|
32
20
|
<orderEntry type="library" scope="PROVIDED" name="rspec (v3.4.0, ruby-2.0.0-p481) [gem]" level="application" />
|
33
21
|
<orderEntry type="library" scope="PROVIDED" name="rspec-core (v3.4.0, ruby-2.0.0-p481) [gem]" level="application" />
|
34
22
|
<orderEntry type="library" scope="PROVIDED" name="rspec-expectations (v3.4.0, ruby-2.0.0-p481) [gem]" level="application" />
|
data/README.md
CHANGED
@@ -30,6 +30,14 @@ After checking out the repo, run `bin/setup` to install dependencies. Then, run
|
|
30
30
|
|
31
31
|
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
32
32
|
|
33
|
+
## Run unit tests
|
34
|
+
|
35
|
+
bundle exec rake spec
|
36
|
+
|
37
|
+
## Build
|
38
|
+
|
39
|
+
bundle exec rake build
|
40
|
+
|
33
41
|
## Contributing
|
34
42
|
|
35
43
|
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/testmgr. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](contributor-covenant.org) code of conduct.
|
@@ -3,9 +3,9 @@ class GeneralUser
|
|
3
3
|
attr_accessor :login_id, :login_password, :role
|
4
4
|
|
5
5
|
def initialize
|
6
|
-
@login_id='
|
7
|
-
@login_password='
|
8
|
-
@role='
|
6
|
+
@login_id=''
|
7
|
+
@login_password=''
|
8
|
+
@role=''
|
9
9
|
end
|
10
10
|
|
11
11
|
def setLoginPassword(s=nil)
|
@@ -1,4 +1,5 @@
|
|
1
1
|
|
2
|
+
# TestCase consists of 0 or more assertions.
|
2
3
|
|
3
4
|
module Testmgr
|
4
5
|
|
@@ -24,6 +25,8 @@ module Testmgr
|
|
24
25
|
end
|
25
26
|
|
26
27
|
def add(rc, desc)
|
28
|
+
|
29
|
+
puts __FILE__ + (__LINE__).to_s + " TestCase.add(#{rc}, #{desc})" if Testmgr::TestReport.instance.verbose
|
27
30
|
@assertions << { :rc => rc, :description => desc }
|
28
31
|
|
29
32
|
if rc.nil?
|
@@ -91,8 +94,21 @@ module Testmgr
|
|
91
94
|
rc
|
92
95
|
end
|
93
96
|
|
97
|
+
def totalAssertions()
|
98
|
+
@assertions.length
|
99
|
+
end
|
100
|
+
|
101
|
+
def failed?
|
102
|
+
!passed?
|
103
|
+
end
|
104
|
+
|
105
|
+
def passed?
|
106
|
+
_rc=calcResult()
|
107
|
+
!_rc.nil? && _rc
|
108
|
+
end
|
109
|
+
|
94
110
|
def print
|
95
|
-
s="[requirement - #{parent.name}]:#{@test_id} - #{@description.to_s} : #{calcResult().to_s}"
|
111
|
+
s="[requirement - #{parent.name}]:#{@test_id} - #{@description.to_s} : #{@metrics[:passed]}/#{@metrics[:total]} passed: #{calcResult().to_s}"
|
96
112
|
|
97
113
|
if @id
|
98
114
|
s += ":#{@id}"
|
@@ -105,6 +121,7 @@ module Testmgr
|
|
105
121
|
end
|
106
122
|
|
107
123
|
puts s
|
124
|
+
s
|
108
125
|
end
|
109
126
|
|
110
127
|
end
|
@@ -71,12 +71,28 @@ module Testmgr
|
|
71
71
|
|
72
72
|
def print
|
73
73
|
# puts __FILE__ + (__LINE__).to_s + " -- print( #{@name} ) --"
|
74
|
+
puts "REQ : #{@name} : #{@sub_tasks.length.to_s} test cases."
|
74
75
|
@sub_tasks.each do |task|
|
75
76
|
# puts __FILE__ + (__LINE__).to_s + " ** #{task.class.to_s} **"
|
76
77
|
task.print
|
77
78
|
end
|
78
79
|
end
|
79
80
|
|
81
|
+
def tc(name)
|
82
|
+
child(name)
|
83
|
+
end
|
84
|
+
|
85
|
+
def testcase(name)
|
86
|
+
tc=child(name)
|
87
|
+
|
88
|
+
if tc.nil?
|
89
|
+
_tc = Testmgr::TestCase.new(name, name)
|
90
|
+
tc=add(_tc)
|
91
|
+
end
|
92
|
+
|
93
|
+
tc
|
94
|
+
end
|
95
|
+
|
80
96
|
def child(name)
|
81
97
|
# puts __FILE__ + (__LINE__).to_s + " [search child]:#{name}"
|
82
98
|
_child=nil
|
@@ -96,6 +112,11 @@ module Testmgr
|
|
96
112
|
|
97
113
|
def get_child(name)
|
98
114
|
_c=child(name)
|
115
|
+
|
116
|
+
if _c.nil?
|
117
|
+
_c=testcase(name)
|
118
|
+
end
|
119
|
+
|
99
120
|
# puts __FILE__ + (__LINE__).to_s + " FOUND => #{_c.class.to_s} " + _c.name if _c
|
100
121
|
_c
|
101
122
|
end
|
@@ -8,6 +8,8 @@ module Testmgr
|
|
8
8
|
class TestReport
|
9
9
|
include Singleton
|
10
10
|
|
11
|
+
DEFAULT_REQ='__TBD__'
|
12
|
+
|
11
13
|
attr_accessor :webApp
|
12
14
|
attr_accessor :completed
|
13
15
|
attr_accessor :description
|
@@ -16,30 +18,77 @@ class TestReport
|
|
16
18
|
attr_accessor :test_list
|
17
19
|
attr_accessor :browser_under_test
|
18
20
|
attr_accessor :data_under_test
|
19
|
-
attr_accessor :drugUnderTest
|
20
21
|
attr_accessor :worksheet_under_test
|
21
22
|
attr_accessor :req_list
|
22
|
-
attr_accessor :
|
23
|
-
|
24
|
-
attr_accessor :
|
23
|
+
attr_accessor :requirements
|
24
|
+
|
25
|
+
attr_accessor :current_rec
|
25
26
|
|
27
|
+
attr_accessor :verbose
|
26
28
|
attr_accessor :generalUser
|
27
29
|
|
30
|
+
|
28
31
|
def initialize()
|
29
|
-
|
32
|
+
@verbose=false
|
30
33
|
@description=""
|
34
|
+
@current_rec = { :req => DEFAULT_REQ, :tc => DEFAULT_REQ}
|
31
35
|
@test_list = []
|
32
36
|
@req_list = []
|
37
|
+
@requirements=[]
|
33
38
|
@environment_under_test=:qa
|
34
39
|
@id_under_test=nil
|
35
|
-
@
|
36
|
-
|
40
|
+
@tStart=Time.now
|
41
|
+
|
42
|
+
|
37
43
|
@webApp=nil
|
38
44
|
@generalUser=GeneralUser.new()
|
39
|
-
@test_patient={}
|
40
45
|
@moxywidgets={}
|
41
46
|
end
|
42
47
|
|
48
|
+
def verbose
|
49
|
+
@verbose
|
50
|
+
end
|
51
|
+
|
52
|
+
def enableVerbose
|
53
|
+
@verbose=true
|
54
|
+
end
|
55
|
+
|
56
|
+
def disableVerbose
|
57
|
+
@verbose=false
|
58
|
+
end
|
59
|
+
|
60
|
+
def setCurrentReq(_r=DEFAULT_REQ)
|
61
|
+
@current_rec[:req]=_r
|
62
|
+
end
|
63
|
+
|
64
|
+
def setCurrentRequirement(_r=DEFAULT_REQ)
|
65
|
+
setReq(_r)
|
66
|
+
end
|
67
|
+
|
68
|
+
def getCurrentReq()
|
69
|
+
@current_rec[:req]
|
70
|
+
end
|
71
|
+
|
72
|
+
def getCurrentRequirement()
|
73
|
+
getReq()
|
74
|
+
end
|
75
|
+
|
76
|
+
def getCurrentTC()
|
77
|
+
@current_rec[:tc]
|
78
|
+
end
|
79
|
+
|
80
|
+
def getCurrentTestCase()
|
81
|
+
getTC()
|
82
|
+
end
|
83
|
+
|
84
|
+
def setCurrentTC(_t=DEFAULT_REQ)
|
85
|
+
@current_rec[:tc]=_t
|
86
|
+
end
|
87
|
+
|
88
|
+
def setCurrentTestCase(_t=DEFAULT_REQ)
|
89
|
+
setTC(_t)
|
90
|
+
end
|
91
|
+
|
43
92
|
def setDescription(s)
|
44
93
|
@description=s.to_s
|
45
94
|
end
|
@@ -58,22 +107,6 @@ class TestReport
|
|
58
107
|
|
59
108
|
@tStart=Time.now()
|
60
109
|
@completed=false
|
61
|
-
|
62
|
-
# options=TestUtils.parseOptions()
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
# TestReport.instance.setEnvironment(options[:env].to_sym, options[:url])
|
67
|
-
# TestReport.instance.setBrowserUnderTest(options[:browser].to_sym)
|
68
|
-
# TestReport.instance.setDataUnderTest(options[:dut])
|
69
|
-
# TestReport.instance.setWorkSheet(options[:worksheet])
|
70
|
-
#TestReport.instance.setPatientWorkSheet(options[:patient_worksheet])
|
71
|
-
# @id_under_test=options[:id]
|
72
|
-
# GeneralUser
|
73
|
-
# TestReport.instance.setLoginPassword(options[:password])
|
74
|
-
# TestReport.instance.setLoginId(options[:userid])
|
75
|
-
|
76
|
-
# TestReport.instance.setPatientClassFile(options[:patient_class_file])
|
77
110
|
end
|
78
111
|
|
79
112
|
##
|
@@ -84,10 +117,7 @@ class TestReport
|
|
84
117
|
end
|
85
118
|
|
86
119
|
|
87
|
-
|
88
|
-
|
89
120
|
def setWebApp(w)
|
90
|
-
puts __FILE__ + (__LINE__).to_s + " setWebApp(#{w.class.to_s})"
|
91
121
|
@webApp=w
|
92
122
|
end
|
93
123
|
|
@@ -122,19 +152,8 @@ class TestReport
|
|
122
152
|
@id_under_test
|
123
153
|
end
|
124
154
|
|
125
|
-
def getPatientClassFile()
|
126
|
-
@patient_class_file
|
127
|
-
end
|
128
|
-
|
129
|
-
def setPatientClassFile(f)
|
130
|
-
if !f.nil?
|
131
|
-
@patient_class_file=f.to_s
|
132
|
-
end
|
133
|
-
@patient_class_file
|
134
|
-
end
|
135
155
|
|
136
156
|
def setLoginId(s=nil)
|
137
|
-
puts __FILE__ + (__LINE__).to_s + " setLoginId(#{s.to_s})"
|
138
157
|
@generalUser.setLoginId(s)
|
139
158
|
end
|
140
159
|
|
@@ -150,13 +169,9 @@ class TestReport
|
|
150
169
|
@worksheet_under_test=s
|
151
170
|
end
|
152
171
|
|
153
|
-
def setPatientWorkSheet(s)
|
154
|
-
@patient_worksheet=s
|
155
|
-
end
|
156
172
|
|
157
|
-
|
158
|
-
|
159
|
-
end
|
173
|
+
|
174
|
+
|
160
175
|
|
161
176
|
def getWorkSheet()
|
162
177
|
@worksheet_under_test
|
@@ -189,9 +204,9 @@ class TestReport
|
|
189
204
|
# => :prod
|
190
205
|
def setEnvironment(e=:qa, url=nil)
|
191
206
|
env={
|
192
|
-
:qa => { :name => 'QA', :description => 'QA Env', :url => 'https://
|
193
|
-
:qa2 => { :name => 'QA2', :description => 'QA2 Env', :url => 'https://qa2
|
194
|
-
:
|
207
|
+
:qa => { :name => 'QA', :description => 'QA Env', :url => 'https://www.qa.com' },
|
208
|
+
:qa2 => { :name => 'QA2', :description => 'QA2 Env', :url => 'https://www.qa2.com' },
|
209
|
+
:prod => { :name => 'PROD', :description => 'CERT', :url => 'https://www.prod.com' }
|
195
210
|
}
|
196
211
|
|
197
212
|
|
@@ -213,6 +228,21 @@ class TestReport
|
|
213
228
|
TestUtils.setDefaultBrowser(bType)
|
214
229
|
end
|
215
230
|
|
231
|
+
# if the requirement doesn't exist, then add it.
|
232
|
+
def getReq(req)
|
233
|
+
@requirements.each do |r|
|
234
|
+
if r.get_name==req
|
235
|
+
return r
|
236
|
+
end
|
237
|
+
end
|
238
|
+
|
239
|
+
addRequirement(req).last
|
240
|
+
# return nil
|
241
|
+
end
|
242
|
+
|
243
|
+
def addRequirement(req)
|
244
|
+
@requirements << Testmgr::TestComposite.new(req)
|
245
|
+
end
|
216
246
|
|
217
247
|
def addReq(r)
|
218
248
|
@req_list << r.to_s
|
@@ -230,7 +260,7 @@ class TestReport
|
|
230
260
|
TestUtils.hitKey(__FILE__ + (__LINE__).to_s + " Test Fail : #{description.to_s}- HIT KEY")
|
231
261
|
end
|
232
262
|
|
233
|
-
puts __FILE__ + (__LINE__).to_s + " #{description.to_s} : #{rc.to_s}"
|
263
|
+
puts __FILE__ + (__LINE__).to_s + " #{description.to_s} : #{rc.to_s}" if @verbose
|
234
264
|
@test_list.push({ :rc => rc, :description => description})
|
235
265
|
rc
|
236
266
|
end
|
@@ -248,12 +278,12 @@ class TestReport
|
|
248
278
|
def execute(procs)
|
249
279
|
|
250
280
|
begin
|
251
|
-
puts __FILE__ + (__LINE__).to_s + " == execute() =="
|
281
|
+
puts __FILE__ + (__LINE__).to_s + " == execute() ==" if @verbose
|
252
282
|
|
253
283
|
if procs.has_key?(:setup)
|
254
284
|
procs[:setup].call
|
255
285
|
else
|
256
|
-
puts __FILE__ + (__LINE__).to_s + " | execute default setup()"
|
286
|
+
puts __FILE__ + (__LINE__).to_s + " | execute default setup()" if @verbose
|
257
287
|
TestReport.instance.setup
|
258
288
|
end
|
259
289
|
|
@@ -277,10 +307,18 @@ class TestReport
|
|
277
307
|
|
278
308
|
end
|
279
309
|
|
280
|
-
puts __FILE__ + (__LINE__).to_s + " == exit execute() =="
|
310
|
+
puts __FILE__ + (__LINE__).to_s + " == exit execute() ==" if @verbose
|
281
311
|
end
|
282
312
|
|
283
313
|
|
314
|
+
def report()
|
315
|
+
puts "\n\n== Test Report ==\n"
|
316
|
+
|
317
|
+
@requirements.each do |r|
|
318
|
+
r.print
|
319
|
+
end
|
320
|
+
end
|
321
|
+
|
284
322
|
def generateReport()
|
285
323
|
endTest()
|
286
324
|
|
@@ -321,7 +359,7 @@ class TestReport
|
|
321
359
|
puts "Start/End : #{@tStart.to_s}" + " / #{@tEnd.to_s}"
|
322
360
|
elapsed_time=time_diff_milli(@tStart)
|
323
361
|
puts "Elapsed time : #{elapsed_time.to_s} msec."
|
324
|
-
puts "\n\
|
362
|
+
puts "\n\nT*** Test Result : #{final_result.to_s} ***"
|
325
363
|
end
|
326
364
|
|
327
365
|
end
|
data/lib/testmgr/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: testmgr
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0.pre
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- h20dragon
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-03-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -74,6 +74,8 @@ extensions: []
|
|
74
74
|
extra_rdoc_files: []
|
75
75
|
files:
|
76
76
|
- .gitignore
|
77
|
+
- .idea/dictionaries/pkim.xml
|
78
|
+
- .idea/encodings.xml
|
77
79
|
- .idea/testmgr.iml
|
78
80
|
- .rspec
|
79
81
|
- .travis.yml
|
@@ -90,38 +92,8 @@ files:
|
|
90
92
|
- lib/testmgr/base/test_case.rb
|
91
93
|
- lib/testmgr/base/test_composite.rb
|
92
94
|
- lib/testmgr/base/test_report.rb
|
93
|
-
- lib/testmgr/base/testmgr/.gitignore
|
94
|
-
- lib/testmgr/base/testmgr/.rspec
|
95
|
-
- lib/testmgr/base/testmgr/.travis.yml
|
96
|
-
- lib/testmgr/base/testmgr/CODE_OF_CONDUCT.md
|
97
|
-
- lib/testmgr/base/testmgr/Gemfile
|
98
|
-
- lib/testmgr/base/testmgr/LICENSE.txt
|
99
|
-
- lib/testmgr/base/testmgr/README.md
|
100
|
-
- lib/testmgr/base/testmgr/Rakefile
|
101
|
-
- lib/testmgr/base/testmgr/bin/console
|
102
|
-
- lib/testmgr/base/testmgr/bin/setup
|
103
|
-
- lib/testmgr/base/testmgr/lib/testmgr.rb
|
104
|
-
- lib/testmgr/base/testmgr/lib/testmgr/version.rb
|
105
|
-
- lib/testmgr/base/testmgr/spec/spec_helper.rb
|
106
|
-
- lib/testmgr/base/testmgr/spec/testmgr_spec.rb
|
107
|
-
- lib/testmgr/base/testmgr/testmgr.gemspec
|
108
95
|
- lib/testmgr/version.rb
|
109
96
|
- testmgr.gemspec
|
110
|
-
- testmgr/.gitignore
|
111
|
-
- testmgr/.rspec
|
112
|
-
- testmgr/.travis.yml
|
113
|
-
- testmgr/CODE_OF_CONDUCT.md
|
114
|
-
- testmgr/Gemfile
|
115
|
-
- testmgr/LICENSE.txt
|
116
|
-
- testmgr/README.md
|
117
|
-
- testmgr/Rakefile
|
118
|
-
- testmgr/bin/console
|
119
|
-
- testmgr/bin/setup
|
120
|
-
- testmgr/lib/testmgr.rb
|
121
|
-
- testmgr/lib/testmgr/version.rb
|
122
|
-
- testmgr/spec/spec_helper.rb
|
123
|
-
- testmgr/spec/testmgr_spec.rb
|
124
|
-
- testmgr/testmgr.gemspec
|
125
97
|
homepage: http://rubygems.org/testmgr
|
126
98
|
licenses:
|
127
99
|
- MIT
|
@@ -137,12 +109,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
137
109
|
version: '0'
|
138
110
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
139
111
|
requirements:
|
140
|
-
- - '
|
112
|
+
- - '>'
|
141
113
|
- !ruby/object:Gem::Version
|
142
|
-
version:
|
114
|
+
version: 1.3.1
|
143
115
|
requirements: []
|
144
116
|
rubyforge_project:
|
145
|
-
rubygems_version: 2.
|
117
|
+
rubygems_version: 2.6.2
|
146
118
|
signing_key:
|
147
119
|
specification_version: 4
|
148
120
|
summary: General purpose test manager.
|
@@ -1,13 +0,0 @@
|
|
1
|
-
# Contributor Code of Conduct
|
2
|
-
|
3
|
-
As contributors and maintainers of this project, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities.
|
4
|
-
|
5
|
-
We are committed to making participation in this project a harassment-free experience for everyone, regardless of level of experience, gender, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, ethnicity, age, or religion.
|
6
|
-
|
7
|
-
Examples of unacceptable behavior by participants include the use of sexual language or imagery, derogatory comments or personal attacks, trolling, public or private harassment, insults, or other unprofessional conduct.
|
8
|
-
|
9
|
-
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct. Project maintainers who do not follow the Code of Conduct may be removed from the project team.
|
10
|
-
|
11
|
-
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by opening an issue or contacting one or more of the project maintainers.
|
12
|
-
|
13
|
-
This Code of Conduct is adapted from the [Contributor Covenant](http://contributor-covenant.org), version 1.0.0, available at [http://contributor-covenant.org/version/1/0/0/](http://contributor-covenant.org/version/1/0/0/)
|
@@ -1,21 +0,0 @@
|
|
1
|
-
The MIT License (MIT)
|
2
|
-
|
3
|
-
Copyright (c) 2015 h20dragon
|
4
|
-
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
7
|
-
in the Software without restriction, including without limitation the rights
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
10
|
-
furnished to do so, subject to the following conditions:
|
11
|
-
|
12
|
-
The above copyright notice and this permission notice shall be included in
|
13
|
-
all copies or substantial portions of the Software.
|
14
|
-
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
-
THE SOFTWARE.
|
@@ -1,41 +0,0 @@
|
|
1
|
-
# Testmgr
|
2
|
-
|
3
|
-
Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/testmgr`. To experiment with that code, run `bin/console` for an interactive prompt.
|
4
|
-
|
5
|
-
TODO: Delete this and the text above, and describe your gem
|
6
|
-
|
7
|
-
## Installation
|
8
|
-
|
9
|
-
Add this line to your application's Gemfile:
|
10
|
-
|
11
|
-
```ruby
|
12
|
-
gem 'testmgr'
|
13
|
-
```
|
14
|
-
|
15
|
-
And then execute:
|
16
|
-
|
17
|
-
$ bundle
|
18
|
-
|
19
|
-
Or install it yourself as:
|
20
|
-
|
21
|
-
$ gem install testmgr
|
22
|
-
|
23
|
-
## Usage
|
24
|
-
|
25
|
-
TODO: Write usage instructions here
|
26
|
-
|
27
|
-
## Development
|
28
|
-
|
29
|
-
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
30
|
-
|
31
|
-
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
32
|
-
|
33
|
-
## Contributing
|
34
|
-
|
35
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/testmgr. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](contributor-covenant.org) code of conduct.
|
36
|
-
|
37
|
-
|
38
|
-
## License
|
39
|
-
|
40
|
-
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
41
|
-
|
@@ -1,14 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
|
3
|
-
require "bundler/setup"
|
4
|
-
require "testmgr"
|
5
|
-
|
6
|
-
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
-
# with your gem easier. You can also use a different console, if you like.
|
8
|
-
|
9
|
-
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
-
# require "pry"
|
11
|
-
# Pry.start
|
12
|
-
|
13
|
-
require "irb"
|
14
|
-
IRB.start
|
@@ -1,33 +0,0 @@
|
|
1
|
-
# coding: utf-8
|
2
|
-
lib = File.expand_path('../lib', __FILE__)
|
3
|
-
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
-
require 'testmgr/version'
|
5
|
-
|
6
|
-
Gem::Specification.new do |spec|
|
7
|
-
spec.name = "testmgr"
|
8
|
-
spec.version = Testmgr::VERSION
|
9
|
-
spec.authors = ["h20dragon"]
|
10
|
-
spec.email = ["h20dragon@outlook.com"]
|
11
|
-
|
12
|
-
spec.summary = %q{TODO: Write a short summary, because Rubygems requires one.}
|
13
|
-
spec.description = %q{TODO: Write a longer description or delete this line.}
|
14
|
-
spec.homepage = "TODO: Put your gem's website or public repo URL here."
|
15
|
-
spec.license = "MIT"
|
16
|
-
|
17
|
-
# Prevent pushing this gem to RubyGems.org by setting 'allowed_push_host', or
|
18
|
-
# delete this section to allow pushing this gem to any host.
|
19
|
-
if spec.respond_to?(:metadata)
|
20
|
-
spec.metadata['allowed_push_host'] = "TODO: Set to 'http://mygemserver.com'"
|
21
|
-
else
|
22
|
-
raise "RubyGems 2.0 or newer is required to protect against public gem pushes."
|
23
|
-
end
|
24
|
-
|
25
|
-
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
26
|
-
spec.bindir = "exe"
|
27
|
-
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
28
|
-
spec.require_paths = ["lib"]
|
29
|
-
|
30
|
-
spec.add_development_dependency "bundler", "~> 1.10"
|
31
|
-
spec.add_development_dependency "rake", "~> 10.0"
|
32
|
-
spec.add_development_dependency "rspec"
|
33
|
-
end
|
data/testmgr/.gitignore
DELETED
data/testmgr/.rspec
DELETED
data/testmgr/.travis.yml
DELETED
data/testmgr/CODE_OF_CONDUCT.md
DELETED
@@ -1,13 +0,0 @@
|
|
1
|
-
# Contributor Code of Conduct
|
2
|
-
|
3
|
-
As contributors and maintainers of this project, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities.
|
4
|
-
|
5
|
-
We are committed to making participation in this project a harassment-free experience for everyone, regardless of level of experience, gender, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, ethnicity, age, or religion.
|
6
|
-
|
7
|
-
Examples of unacceptable behavior by participants include the use of sexual language or imagery, derogatory comments or personal attacks, trolling, public or private harassment, insults, or other unprofessional conduct.
|
8
|
-
|
9
|
-
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct. Project maintainers who do not follow the Code of Conduct may be removed from the project team.
|
10
|
-
|
11
|
-
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by opening an issue or contacting one or more of the project maintainers.
|
12
|
-
|
13
|
-
This Code of Conduct is adapted from the [Contributor Covenant](http://contributor-covenant.org), version 1.0.0, available at [http://contributor-covenant.org/version/1/0/0/](http://contributor-covenant.org/version/1/0/0/)
|
data/testmgr/Gemfile
DELETED
data/testmgr/LICENSE.txt
DELETED
@@ -1,21 +0,0 @@
|
|
1
|
-
The MIT License (MIT)
|
2
|
-
|
3
|
-
Copyright (c) 2015 h20dragon
|
4
|
-
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
7
|
-
in the Software without restriction, including without limitation the rights
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
10
|
-
furnished to do so, subject to the following conditions:
|
11
|
-
|
12
|
-
The above copyright notice and this permission notice shall be included in
|
13
|
-
all copies or substantial portions of the Software.
|
14
|
-
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
-
THE SOFTWARE.
|
data/testmgr/README.md
DELETED
@@ -1,41 +0,0 @@
|
|
1
|
-
# Testmgr
|
2
|
-
|
3
|
-
Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/testmgr`. To experiment with that code, run `bin/console` for an interactive prompt.
|
4
|
-
|
5
|
-
TODO: Delete this and the text above, and describe your gem
|
6
|
-
|
7
|
-
## Installation
|
8
|
-
|
9
|
-
Add this line to your application's Gemfile:
|
10
|
-
|
11
|
-
```ruby
|
12
|
-
gem 'testmgr'
|
13
|
-
```
|
14
|
-
|
15
|
-
And then execute:
|
16
|
-
|
17
|
-
$ bundle
|
18
|
-
|
19
|
-
Or install it yourself as:
|
20
|
-
|
21
|
-
$ gem install testmgr
|
22
|
-
|
23
|
-
## Usage
|
24
|
-
|
25
|
-
TODO: Write usage instructions here
|
26
|
-
|
27
|
-
## Development
|
28
|
-
|
29
|
-
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
30
|
-
|
31
|
-
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
32
|
-
|
33
|
-
## Contributing
|
34
|
-
|
35
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/testmgr. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](contributor-covenant.org) code of conduct.
|
36
|
-
|
37
|
-
|
38
|
-
## License
|
39
|
-
|
40
|
-
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
41
|
-
|
data/testmgr/Rakefile
DELETED
data/testmgr/bin/console
DELETED
@@ -1,14 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
|
3
|
-
require "bundler/setup"
|
4
|
-
require "testmgr"
|
5
|
-
|
6
|
-
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
-
# with your gem easier. You can also use a different console, if you like.
|
8
|
-
|
9
|
-
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
-
# require "pry"
|
11
|
-
# Pry.start
|
12
|
-
|
13
|
-
require "irb"
|
14
|
-
IRB.start
|
data/testmgr/bin/setup
DELETED
data/testmgr/lib/testmgr.rb
DELETED
data/testmgr/spec/spec_helper.rb
DELETED
data/testmgr/testmgr.gemspec
DELETED
@@ -1,33 +0,0 @@
|
|
1
|
-
# coding: utf-8
|
2
|
-
lib = File.expand_path('../lib', __FILE__)
|
3
|
-
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
-
require 'testmgr/version'
|
5
|
-
|
6
|
-
Gem::Specification.new do |spec|
|
7
|
-
spec.name = "testmgr"
|
8
|
-
spec.version = Testmgr::VERSION
|
9
|
-
spec.authors = ["h20dragon"]
|
10
|
-
spec.email = ["h20dragon@outlook.com"]
|
11
|
-
|
12
|
-
spec.summary = %q{TODO: Write a short summary, because Rubygems requires one.}
|
13
|
-
spec.description = %q{TODO: Write a longer description or delete this line.}
|
14
|
-
spec.homepage = "TODO: Put your gem's website or public repo URL here."
|
15
|
-
spec.license = "MIT"
|
16
|
-
|
17
|
-
# Prevent pushing this gem to RubyGems.org by setting 'allowed_push_host', or
|
18
|
-
# delete this section to allow pushing this gem to any host.
|
19
|
-
if spec.respond_to?(:metadata)
|
20
|
-
spec.metadata['allowed_push_host'] = "TODO: Set to 'http://mygemserver.com'"
|
21
|
-
else
|
22
|
-
raise "RubyGems 2.0 or newer is required to protect against public gem pushes."
|
23
|
-
end
|
24
|
-
|
25
|
-
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
26
|
-
spec.bindir = "exe"
|
27
|
-
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
28
|
-
spec.require_paths = ["lib"]
|
29
|
-
|
30
|
-
spec.add_development_dependency "bundler", "~> 1.10"
|
31
|
-
spec.add_development_dependency "rake", "~> 10.0"
|
32
|
-
spec.add_development_dependency "rspec"
|
33
|
-
end
|