testability-driver-runner 1.0.4 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/tdrunner.rb +92 -28
- data/lib/tdrunner_monitor.rb +32 -49
- data/lib/tdrunner_test_unit.rb +55 -29
- data/rakefile +2 -1
- metadata +52 -52
data/lib/tdrunner.rb
CHANGED
@@ -23,6 +23,7 @@ require File.expand_path( File.join( File.dirname( __FILE__ ), 'tdrunner_profile
|
|
23
23
|
require File.expand_path( File.join( File.dirname( __FILE__ ), 'tdrunner_command_tool' ) )
|
24
24
|
require 'yaml'
|
25
25
|
|
26
|
+
|
26
27
|
#Sophisticated Interface for Running Random Automation
|
27
28
|
module TDRunner
|
28
29
|
#Main class which is used to start TDRunner run
|
@@ -43,16 +44,55 @@ module TDRunner
|
|
43
44
|
#-p loads a execution profile from siearra.yml configuration file form config folder in the execution directory
|
44
45
|
#parse the command line arguments if above steps are not found
|
45
46
|
def initialize(args)
|
46
|
-
|
47
|
+
|
48
|
+
if args.empty?
|
47
49
|
tdrunner_help()
|
48
|
-
|
50
|
+
return
|
51
|
+
end
|
52
|
+
|
53
|
+
verbose = 0
|
54
|
+
|
55
|
+
while true
|
56
|
+
|
57
|
+
if args[0]=='--display'
|
58
|
+
args.shift
|
59
|
+
ENV['DISPLAY'] = args.shift
|
60
|
+
|
61
|
+
elsif args[0]=='-h' or args[0]=='--help'
|
62
|
+
args.shift
|
63
|
+
tdrunner_help()
|
64
|
+
|
65
|
+
elsif args[0]=='--cd'
|
66
|
+
args.shift
|
67
|
+
Dir.chdir(args.shift)
|
68
|
+
|
69
|
+
elsif args[0]=='--verbose'
|
70
|
+
args.shift
|
71
|
+
verbose += 1
|
72
|
+
|
73
|
+
elsif args[0]=='--version'
|
74
|
+
args.shift
|
75
|
+
puts '1.1.0'
|
76
|
+
|
77
|
+
else
|
78
|
+
break
|
79
|
+
end
|
80
|
+
end
|
81
|
+
|
82
|
+
if verbose > 0
|
83
|
+
puts "DISPLAY=#{ENV['DISPLAY']}"
|
84
|
+
puts "PWD=#{Dir.pwd()}"
|
85
|
+
end
|
86
|
+
|
87
|
+
if args.empty?
|
49
88
|
tdrunner_help()
|
50
|
-
|
51
|
-
puts '1.0.0'
|
89
|
+
|
52
90
|
elsif args[0]=='--websi'
|
53
91
|
start_websi(args[1, args.size])
|
92
|
+
|
54
93
|
elsif args[0]=='--cmd'
|
55
94
|
tool = TDRunnerCommandTool.new(args[1, args.size])
|
95
|
+
|
56
96
|
elsif args[0]=='-p'
|
57
97
|
profile = TDRunnerProfileLoader.new(args)
|
58
98
|
tdrunner_profiles=profile.get_execution_profiles
|
@@ -60,11 +100,11 @@ module TDRunner
|
|
60
100
|
tdrunner_profile_execution_args=profile.args_from(tdrunner_profile)
|
61
101
|
start_tdrunner(tdrunner_profile_execution_args)
|
62
102
|
end
|
63
|
-
|
64
|
-
tdrunner_help()
|
103
|
+
|
65
104
|
else
|
66
105
|
start_tdrunner(args)
|
67
106
|
end
|
107
|
+
|
68
108
|
end
|
69
109
|
|
70
110
|
#Start tdrunner web UI
|
@@ -104,14 +144,16 @@ module TDRunner
|
|
104
144
|
end
|
105
145
|
@tdrunner_runner=TDRunnerTestUnit::ForkedTestUnitRunner.new(test_suite)
|
106
146
|
end
|
147
|
+
|
107
148
|
def execute_cucumber_tests(test_parameters=[])
|
108
149
|
if Gem.available?('cucumber')
|
109
150
|
@cucumber_command=Array.new(test_parameters)
|
110
151
|
@tdrunner_runner=TDRunnerCucumber::ForkedCucumberRunner.new(@cucumber_command).execute
|
111
152
|
else
|
112
|
-
|
153
|
+
puts('WARNING: Cucumber test framework gem was not found or installed')
|
113
154
|
end
|
114
155
|
end
|
156
|
+
|
115
157
|
def start_tdrunner(args)
|
116
158
|
$tdrunner_parameters=TDRunnerParameters.new(args)
|
117
159
|
ARGV.clear
|
@@ -133,15 +175,15 @@ module TDRunner
|
|
133
175
|
@test_folder.each do |folder|
|
134
176
|
if File.directory?(folder)
|
135
177
|
if Gem.available?('cucumber')
|
136
|
-
if Gem.available?('cucumber','>0.4.4')
|
137
|
-
cucumber_parameters=["#{folder.to_s}", "-f", "TDriverReport::CucumberReporter"]
|
138
|
-
end
|
139
178
|
if Gem.available?('cucumber','=0.4.4')
|
140
179
|
cucumber_parameters=["#{folder.to_s}", "-f", "TDriverReport::CucumberListener"]
|
141
180
|
end
|
181
|
+
if Gem.available?('cucumber','>0.4.4')
|
182
|
+
cucumber_parameters=["#{folder.to_s}", "-f", "TDriverReport::CucumberReporter"]
|
183
|
+
end
|
142
184
|
execute_cucumber_tests(cucumber_parameters)
|
143
185
|
else
|
144
|
-
|
186
|
+
puts('WARNING: Cucumber test framework gem was not found or installed')
|
145
187
|
end
|
146
188
|
end
|
147
189
|
end
|
@@ -149,23 +191,25 @@ module TDRunner
|
|
149
191
|
|
150
192
|
write_failed_sip_file($tdrunner_parameters)
|
151
193
|
end
|
194
|
+
|
152
195
|
#Method for displaying tdrunner help in commandline
|
153
196
|
def tdrunner_help()
|
154
|
-
puts 'Usage: tdrunner [
|
197
|
+
puts 'Usage: tdrunner [runner opts] [--websi opts|--cmd opts|test opts] [command]'
|
155
198
|
puts ''
|
156
199
|
puts 'Examples:'
|
157
200
|
puts ''
|
201
|
+
puts 'Execute tests in my_test_folder:'
|
158
202
|
puts 'tdrunner my_test_folder'
|
159
203
|
puts ''
|
160
|
-
puts '
|
204
|
+
puts 'Execute tests for 1.5 hours:'
|
161
205
|
puts 'tdrunner -H 1.5 cucumber features'
|
162
206
|
puts 'tdrunner -H 1.5 test_suite ts_my_test_unit_suite.rb'
|
163
207
|
puts ''
|
164
|
-
puts '
|
208
|
+
puts 'Repeat tests for ten iterations:'
|
165
209
|
puts 'tdrunner -i 10 cucumber features'
|
166
210
|
puts 'tdrunner -i 10 test_suite ts_my_test_unit_suite.rb'
|
167
211
|
puts ''
|
168
|
-
puts '
|
212
|
+
puts 'Run tests until defined date and time is reached:'
|
169
213
|
puts 'tdrunner -d "12.12.2100 12:00" cucumber features'
|
170
214
|
puts 'tdrunner -d "12.12.2100 12:00" test_suite ts_my_test_unit_suite.rb'
|
171
215
|
puts ''
|
@@ -198,6 +242,38 @@ module TDRunner
|
|
198
242
|
puts ''
|
199
243
|
puts ''
|
200
244
|
|
245
|
+
puts "Runner options:"
|
246
|
+
puts ''
|
247
|
+
|
248
|
+
puts "--cd directory\tSet working directory, useful when invoking tdrunner remotely"
|
249
|
+
|
250
|
+
puts "--display display\tSet DISPLAY environment variable, useful for testing"
|
251
|
+
puts "\t\tdesktop applications remotely"
|
252
|
+
|
253
|
+
puts "-h, --help\tYou're looking at it."
|
254
|
+
|
255
|
+
puts "--verbose\tPrint extra information"
|
256
|
+
|
257
|
+
puts "--version\tShow version."
|
258
|
+
|
259
|
+
puts ''
|
260
|
+
puts ''
|
261
|
+
puts "--cmd sut sut_id httpd server_port [usb powerup|powerdown|reset] [status]"
|
262
|
+
puts "\t\tProbe status of given sut and given httpd server."
|
263
|
+
puts "\t\t(Used by tdrunner_ui.)"
|
264
|
+
puts "--cmd sut sut_id usb powerup|powerdown|reset"
|
265
|
+
puts "\t\tPerform given usb command using given sut."
|
266
|
+
puts "\t\t(Used by tdrunner_ui.)"
|
267
|
+
puts ''
|
268
|
+
puts ''
|
269
|
+
puts "--websi [optional arguments]"
|
270
|
+
puts "\t\tStarts tdrunner web interface, by default at URL"
|
271
|
+
puts "\t\thttp://localhost:3000/websi/"
|
272
|
+
puts ''
|
273
|
+
puts ''
|
274
|
+
puts "Test options:"
|
275
|
+
puts ''
|
276
|
+
|
201
277
|
puts "-H i\t\tDefines how many hours tdrunner will run i as number of hours."
|
202
278
|
|
203
279
|
puts "-i i\t\tDefines how many iterations tdrunner will run the tests i as"
|
@@ -214,27 +290,15 @@ module TDRunner
|
|
214
290
|
puts "-t execution_profile"
|
215
291
|
puts "\t\tCreate execution profile of failed Test::Unit tests"
|
216
292
|
|
217
|
-
puts "--cmd sut sut_id httpd server_port [usb powerup|powerdown|reset] [status]"
|
218
|
-
puts "\t\tProbe status of given sut and given httpd server."
|
219
|
-
puts "\t\t(Used by tdrunner_ui.)"
|
220
|
-
puts "--cmd sut sut_id usb powerup|powerdown|reset"
|
221
|
-
puts "\t\tPerform given usb command using given sut."
|
222
|
-
puts "\t\t(Used by tdrunner_ui.)"
|
223
|
-
|
224
293
|
puts "--teardown\tRun test unit teardown only when the testcase is failed."
|
225
294
|
|
226
295
|
puts "--ordered\tUse with execution profile to run tests as they are ordered"
|
227
296
|
puts "\t\tin the sip file."
|
228
297
|
|
229
|
-
puts "--websi [optional arguments]"
|
230
|
-
puts "\t\tStarts tdrunner web interface, by default at URL"
|
231
|
-
puts "\t\thttp://localhost:3000/websi/"
|
232
|
-
|
233
298
|
puts "-p profile_name\tPull commandline arguments from tdrunner.yml which can be"
|
234
299
|
puts "\t\tdefined as strings or arrays."
|
235
300
|
|
236
|
-
|
237
|
-
puts "-h, --help\tYou're looking at it."
|
301
|
+
|
238
302
|
end
|
239
303
|
end
|
240
304
|
end
|
data/lib/tdrunner_monitor.rb
CHANGED
@@ -22,60 +22,41 @@ module TDRunner
|
|
22
22
|
#TDRunner monitor module for controlling the SIERRA execution
|
23
23
|
module TDRunnerMonitor
|
24
24
|
|
25
|
-
def add_failed_testunit_tests(tdrunner_parameters,case_contents_array
|
25
|
+
def add_failed_testunit_tests(tdrunner_parameters,case_contents_array)
|
26
26
|
if(tdrunner_parameters.failed_execution_profile != nil)
|
27
|
-
failed_case = case_contents_array[index].at(0).to_s
|
28
|
-
if tdrunner_parameters.tdrunner_ordered==false
|
29
|
-
#i.e. no dependencies
|
30
|
-
add_tc_to_failed_array(tdrunner_parameters,failed_case)
|
31
|
-
else
|
32
|
-
add_dependent_tcs_to_failed_array(tdrunner_parameters,case_contents_array,index)
|
33
|
-
end
|
34
|
-
end
|
35
|
-
end
|
36
27
|
|
37
|
-
|
38
|
-
temp_array=Array.new
|
28
|
+
add_tcs_to_failed_array(case_contents_array)
|
39
29
|
|
40
|
-
|
41
|
-
|
42
|
-
temp_array<<get_pos_string(pos) + get_test_name(failed_case)+ "(" + get_test_class(failed_case) + ")=1"
|
43
|
-
i = index.to_i - 1
|
30
|
+
end
|
31
|
+
end
|
44
32
|
|
45
|
-
|
46
|
-
prev_pos = case_contents_array[i].at(2).count( "-").to_i
|
47
|
-
prev_failed_case = case_contents_array[i].at(0).to_s
|
33
|
+
def add_tcs_to_failed_array(case_contents_array)
|
48
34
|
|
49
|
-
|
50
|
-
|
35
|
+
failed_cases=[]
|
36
|
+
$failed_tests ||= Array.new
|
37
|
+
b_fail=false
|
38
|
+
failed_level=0
|
39
|
+
class_name = get_test_class(case_contents_array[0].at(0).to_s) + "=1" if case_contents_array.count > 0
|
40
|
+
$failed_tests<<class_name if case_contents_array[0].at(0).to_s.include? '('
|
41
|
+
|
42
|
+
case_contents_array.reverse_each do |tcase|
|
43
|
+
if tcase.at(3)==false || tcase.at(3)=="not run"
|
44
|
+
class_name = get_test_class( tcase.at(2)) + "=1"
|
45
|
+
failed_level=tcase.at(2).count( "-").to_i
|
46
|
+
failed_cases << tcase.at(2)+ "=1" if tcase.at(2).include? '('
|
47
|
+
b_fail=true if failed_level!=0
|
51
48
|
end
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
49
|
+
if b_fail==true and tcase.at(2).count( "-").to_i < failed_level and tcase.at(2).count( "-").to_i != 0 then
|
50
|
+
failed_cases << tcase.at(2)
|
51
|
+
elsif tcase.at(2).count( "-").to_i == 0 && b_fail==true
|
52
|
+
class_name = get_test_class(tcase.at(2)) + "=1"
|
53
|
+
failed_cases << tcase.at(2)+ "=1" if tcase.at(2).include? '('
|
54
|
+
b_fail=false
|
56
55
|
end
|
57
|
-
i=i-1
|
58
56
|
end
|
59
57
|
|
60
|
-
$failed_tests
|
61
|
-
if !$failed_tests.include? temp_array.reverse!
|
62
|
-
class_name = get_test_class(failed_case) + "=1"
|
63
|
-
$failed_tests <<class_name if !value_exists_in_array($failed_tests , class_name)
|
64
|
-
$failed_tests<<temp_array
|
65
|
-
end
|
66
|
-
end
|
58
|
+
$failed_tests<<failed_cases.reverse
|
67
59
|
|
68
|
-
def add_tc_to_failed_array(tdrunner_parameters,testcase)
|
69
|
-
$failed_tests ||= Array.new
|
70
|
-
tc_class=get_test_class(testcase)
|
71
|
-
tc_name=get_test_name(testcase)
|
72
|
-
class_name = tc_class + "=1"
|
73
|
-
tc_name = tc_name+ "(" + tc_class + ")=1"
|
74
|
-
|
75
|
-
if !$failed_tests.include? tc_name
|
76
|
-
$failed_tests <<class_name if !$failed_tests.include? class_name
|
77
|
-
$failed_tests << tc_name
|
78
|
-
end
|
79
60
|
end
|
80
61
|
|
81
62
|
def get_pos_string(pos)
|
@@ -134,10 +115,8 @@ module TDRunner
|
|
134
115
|
secs=0
|
135
116
|
if (/^\d+:\d+$/.match(duration_value.to_s))
|
136
117
|
secs = (duration_value.split(':') [0].to_i*3600) + (duration_value.split(':') [1].to_i*60)
|
137
|
-
elsif (/^\d+\.\d+$/.match(duration_value.to_s))
|
118
|
+
elsif (/^\d+\.\d+$/.match(duration_value.to_s) || /^\d+$/.match(duration_value.to_s) )
|
138
119
|
secs = 3600*duration_value.to_f
|
139
|
-
else (/^\d+$/.match(duration_value.to_s))
|
140
|
-
secs=60*duration_value.to_f
|
141
120
|
end
|
142
121
|
secs
|
143
122
|
end
|
@@ -459,8 +438,10 @@ module TDRunner
|
|
459
438
|
|
460
439
|
if tdrunner_parameters.tdrunner_ordered==false
|
461
440
|
if b_profile_file_exist==true
|
462
|
-
@case_contents_array=@case_contents_array.
|
441
|
+
@case_contents_array=@case_contents_array.sort_by { rand }
|
463
442
|
tests,@case_contents_array=order_the_features(tests, @case_contents_array)
|
443
|
+
else
|
444
|
+
tests=tests.sort_by { rand }
|
464
445
|
end
|
465
446
|
else
|
466
447
|
if b_profile_file_exist==true
|
@@ -501,8 +482,10 @@ module TDRunner
|
|
501
482
|
|
502
483
|
if tdrunner_parameters.tdrunner_ordered==false
|
503
484
|
if b_profile_file_exist==true
|
504
|
-
@case_contents_array=@case_contents_array.
|
485
|
+
@case_contents_array=@case_contents_array.sort_by { rand }
|
505
486
|
tests,@case_contents_array=order_the_tests(tests, @case_contents_array)
|
487
|
+
else
|
488
|
+
tests=tests.sort_by { rand }
|
506
489
|
end
|
507
490
|
else
|
508
491
|
if b_profile_file_exist==true
|
data/lib/tdrunner_test_unit.rb
CHANGED
@@ -275,22 +275,48 @@ begin
|
|
275
275
|
yield(STARTED, name)
|
276
276
|
@_result = result
|
277
277
|
@case_contents_array=case_contents_array
|
278
|
+
test_skipped = false
|
278
279
|
begin
|
279
280
|
|
280
|
-
if
|
281
|
-
|
282
|
-
|
283
|
-
|
281
|
+
if MobyUtil::Parameter[ :runner_skip_enabled, "false" ] == "true"
|
282
|
+
|
283
|
+
fail_execs = tdriver_get_current_by_status( "failed" )
|
284
|
+
pass_execs = tdriver_get_current_by_status( "passed" )
|
285
|
+
|
286
|
+
fail_execs = fail_execs.respond_to?( :count ) ? fail_execs.count : 0
|
287
|
+
pass_execs = pass_execs.respond_to?( :count ) ? pass_execs.count : 0
|
288
|
+
|
289
|
+
skip_treshold = MobyUtil::Parameter[ :runner_skip_treshold, "5" ].to_i
|
290
|
+
|
291
|
+
if fail_execs + pass_execs >= skip_treshold and fail_execs + pass_execs > 0
|
292
|
+
skip_rate = MobyUtil::Parameter[ :runner_skip_fail_rate, "66" ].to_i / 100.0
|
293
|
+
test_skipped = fail_execs/(fail_execs + pass_execs).to_f >= skip_rate
|
294
|
+
end
|
295
|
+
|
284
296
|
end
|
297
|
+
|
298
|
+
if !test_skipped
|
299
|
+
|
300
|
+
if self.respond_to?("setup_#{name[0..(name.to_s.index('(')-1)]}")
|
301
|
+
__send__("setup_#{name[0..(name.to_s.index('(')-1)]}") if status!=false
|
302
|
+
else
|
303
|
+
setup if status!=false
|
304
|
+
end
|
305
|
+
|
306
|
+
if arguments!=nil && status==nil
|
307
|
+
__send__(@method_name,*arguments)
|
308
|
+
elsif status==false
|
309
|
+
Kernel::raise('Previous dependency test failed')
|
310
|
+
else
|
311
|
+
__send__(@method_name)
|
312
|
+
end
|
285
313
|
|
286
|
-
if arguments!=nil && status==nil
|
287
|
-
__send__(@method_name,*arguments)
|
288
|
-
elsif status==false
|
289
|
-
Kernel::raise('Previous dependency test failed')
|
290
314
|
else
|
291
|
-
__send__(@method_name)
|
292
|
-
end
|
293
315
|
|
316
|
+
tdriver_report_log( "Not run due to consistent failures." )
|
317
|
+
tdriver_report_set_test_case_status( MobyUtil::Parameter[ :runner_skip_status, "not run" ] )
|
318
|
+
|
319
|
+
end
|
294
320
|
|
295
321
|
rescue AssertionFailedError => e
|
296
322
|
add_failure(e.message, e.backtrace)
|
@@ -298,28 +324,30 @@ begin
|
|
298
324
|
raise if PASSTHROUGH_EXCEPTIONS.include? $!.class
|
299
325
|
add_error($!)
|
300
326
|
ensure
|
301
|
-
|
302
|
-
|
303
|
-
if
|
327
|
+
unless test_skipped
|
328
|
+
begin
|
329
|
+
if $tdrunner_parameters.tdrunner_teardown==true
|
330
|
+
if @test_passed != true
|
331
|
+
if respond_to?("teardown_#{name[0..(name.to_s.index('(')-1)]}")
|
332
|
+
__send__("teardown_#{name[0..(name.to_s.index('(')-1)]}") if status!=false
|
333
|
+
else
|
334
|
+
teardown if status!=false
|
335
|
+
end
|
336
|
+
end
|
337
|
+
else
|
304
338
|
if respond_to?("teardown_#{name[0..(name.to_s.index('(')-1)]}")
|
305
339
|
__send__("teardown_#{name[0..(name.to_s.index('(')-1)]}") if status!=false
|
306
340
|
else
|
307
341
|
teardown if status!=false
|
308
342
|
end
|
309
343
|
end
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
end
|
344
|
+
rescue AssertionFailedError => e
|
345
|
+
add_failure(e.message, e.backtrace)
|
346
|
+
rescue Exception
|
347
|
+
raise if PASSTHROUGH_EXCEPTIONS.include? $!.class
|
348
|
+
add_error($!)
|
316
349
|
end
|
317
|
-
|
318
|
-
add_failure(e.message, e.backtrace)
|
319
|
-
rescue Exception
|
320
|
-
raise if PASSTHROUGH_EXCEPTIONS.include? $!.class
|
321
|
-
add_error($!)
|
322
|
-
end
|
350
|
+
end
|
323
351
|
@case_contents_array[current_index]=[@case_contents_array[current_index].at(0),@case_contents_array[current_index].at(1),@case_contents_array[current_index].at(2),@test_passed] if @case_contents_array!=nil && status==nil
|
324
352
|
end
|
325
353
|
result.add_run
|
@@ -418,12 +446,10 @@ begin
|
|
418
446
|
else
|
419
447
|
test.run(result, eval_parameters_arr, @case_contents_array, current_index, &progress_block)
|
420
448
|
end
|
421
|
-
|
422
|
-
if (@case_contents_array!=nil && @case_contents_array[current_index]!=nil && @case_contents_array[current_index].at(3)==false)
|
423
|
-
add_failed_testunit_tests($tdrunner_parameters, @case_contents_array, current_index)
|
424
|
-
end
|
449
|
+
|
425
450
|
current_index+=1
|
426
451
|
end
|
452
|
+
add_failed_testunit_tests($tdrunner_parameters, @case_contents_array)
|
427
453
|
yield(FINISHED, name)
|
428
454
|
end
|
429
455
|
end
|
data/rakefile
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
#
|
2
2
|
# rakefile for building and releasing tdrunner
|
3
3
|
|
4
|
-
@__release_mode =
|
4
|
+
@__release_mode = 'release'
|
5
5
|
@__release_mode = 'minor' if @__release_mode == nil
|
6
6
|
GEM_NAME='testability-driver-runner'
|
7
7
|
|
@@ -105,6 +105,7 @@ task :gem_uninstall do
|
|
105
105
|
puts "### Uninstalling GEM #{GEM_NAME} ###"
|
106
106
|
puts "#########################################################"
|
107
107
|
tdrunner_gem = "tdrunner-#{@__gem_version}.gem"
|
108
|
+
FileUtils.rm(Dir.glob('pkg/*gem'))
|
108
109
|
if /win/ =~ RUBY_PLATFORM
|
109
110
|
cmd = "del /F /Q pkg\\"
|
110
111
|
failure = system(cmd)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: testability-driver-runner
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Testability Driver team
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2011-
|
12
|
+
date: 2011-03-11 00:00:00 +02:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -64,78 +64,78 @@ extra_rdoc_files:
|
|
64
64
|
files:
|
65
65
|
- readme
|
66
66
|
- rakefile
|
67
|
-
- bin/tdrunner
|
68
67
|
- bin/sierra
|
69
|
-
-
|
70
|
-
- lib/tdrunner_profile.rb
|
71
|
-
- lib/tdrunner_cucumber_runners.rb
|
68
|
+
- bin/tdrunner
|
72
69
|
- lib/tdrunner.rb
|
73
|
-
- lib/tdrunner_command_tool.rb
|
74
70
|
- lib/tdrunner.yml
|
75
|
-
- lib/
|
71
|
+
- lib/tdrunner_command_tool.rb
|
76
72
|
- lib/tdrunner_cucumber.rb
|
73
|
+
- lib/tdrunner_cucumber_runners.rb
|
74
|
+
- lib/tdrunner_file_finder.rb
|
75
|
+
- lib/tdrunner_monitor.rb
|
76
|
+
- lib/tdrunner_profile.rb
|
77
77
|
- lib/tdrunner_test_unit.rb
|
78
|
-
- websi/
|
79
|
-
- websi/
|
80
|
-
- websi/
|
81
|
-
- websi/
|
82
|
-
- websi/
|
83
|
-
- websi/
|
84
|
-
- websi/
|
85
|
-
- websi/
|
86
|
-
- websi/
|
87
|
-
- websi/
|
88
|
-
- websi/
|
89
|
-
- websi/
|
90
|
-
- websi/
|
91
|
-
- websi/
|
92
|
-
- websi/
|
93
|
-
- websi/
|
94
|
-
- websi/
|
95
|
-
- websi/config/routes.rb
|
78
|
+
- websi/app/controllers/application_controller.rb
|
79
|
+
- websi/app/controllers/report_editor/test_run/cases_controller.rb
|
80
|
+
- websi/app/controllers/report_editor_controller.rb
|
81
|
+
- websi/app/controllers/websi_controller.rb
|
82
|
+
- websi/app/controllers/websi_script.rb
|
83
|
+
- websi/app/controllers/websi_support.rb
|
84
|
+
- websi/app/helpers/application_helper.rb
|
85
|
+
- websi/app/helpers/report_editor/report_editor_helper.rb
|
86
|
+
- websi/app/helpers/report_editor/test_run/cases_helper.rb
|
87
|
+
- websi/app/helpers/websi_helper.rb
|
88
|
+
- websi/app/views/layouts/application.rhtml
|
89
|
+
- websi/app/views/websi/execution.html.erb
|
90
|
+
- websi/app/views/websi/index.html.erb
|
91
|
+
- websi/app/views/websi/profile.html.erb
|
92
|
+
- websi/app/views/websi/results.html.erb
|
93
|
+
- websi/app/views/websi/tests.html.erb
|
94
|
+
- websi/app/views/websi/weights.html.erb
|
96
95
|
- websi/config/boot.rb
|
97
96
|
- websi/config/database.yml
|
98
97
|
- websi/config/environment.rb
|
99
|
-
- websi/config/
|
98
|
+
- websi/config/environments/development.rb
|
99
|
+
- websi/config/environments/production.rb
|
100
|
+
- websi/config/environments/test.rb
|
101
|
+
- websi/config/initializers/backtrace_silencers.rb
|
100
102
|
- websi/config/initializers/inflections.rb
|
101
103
|
- websi/config/initializers/mime_types.rb
|
102
104
|
- websi/config/initializers/new_rails_defaults.rb
|
103
|
-
- websi/config/initializers/backtrace_silencers.rb
|
104
105
|
- websi/config/initializers/session_store.rb
|
106
|
+
- websi/config/locales/en.yml
|
107
|
+
- websi/config/routes.rb
|
105
108
|
- websi/db/development.sqlite3
|
106
109
|
- websi/db/seeds.rb
|
107
|
-
- websi/
|
108
|
-
- websi/
|
110
|
+
- websi/doc/README_FOR_APP
|
111
|
+
- websi/log/development.log
|
112
|
+
- websi/log/production.log
|
113
|
+
- websi/log/server.log
|
114
|
+
- websi/log/test.log
|
109
115
|
- websi/public/report_editor/test_run/_index.html
|
110
116
|
- websi/public/robots.txt
|
111
|
-
- websi/public/
|
117
|
+
- websi/public/stylesheets/tdriver_report_style.css
|
112
118
|
- websi/public/tests/config/web_profile.sip
|
113
|
-
- websi/public/tests/
|
119
|
+
- websi/public/tests/example_profile.sip
|
114
120
|
- websi/public/tests/tdrunner.yml
|
121
|
+
- websi/public/tests/websi_parameters.xml
|
115
122
|
- websi/public/tests/web_profile.sip
|
116
|
-
- websi/
|
117
|
-
- websi/
|
118
|
-
- websi/
|
119
|
-
- websi/
|
120
|
-
- websi/
|
121
|
-
- websi/
|
122
|
-
- websi/
|
123
|
-
- websi/
|
124
|
-
- websi/
|
125
|
-
- websi/
|
126
|
-
- websi/
|
127
|
-
- websi/
|
128
|
-
- websi/
|
129
|
-
- websi/app/helpers/websi_helper.rb
|
130
|
-
- websi/app/helpers/report_editor/test_run/cases_helper.rb
|
131
|
-
- websi/app/helpers/report_editor/report_editor_helper.rb
|
132
|
-
- websi/app/helpers/application_helper.rb
|
123
|
+
- websi/Rakefile
|
124
|
+
- websi/README
|
125
|
+
- websi/script/about
|
126
|
+
- websi/script/console
|
127
|
+
- websi/script/dbconsole
|
128
|
+
- websi/script/destroy
|
129
|
+
- websi/script/generate
|
130
|
+
- websi/script/performance/benchmarker
|
131
|
+
- websi/script/performance/profiler
|
132
|
+
- websi/script/plugin
|
133
|
+
- websi/script/runner
|
134
|
+
- websi/script/server
|
135
|
+
- websi/test/functional/websi_controller_test.rb
|
133
136
|
- websi/test/performance/browsing_test.rb
|
134
137
|
- websi/test/test_helper.rb
|
135
|
-
- websi/test/functional/websi_controller_test.rb
|
136
138
|
- websi/test/unit/helpers/websi_helper_test.rb
|
137
|
-
- websi/Rakefile
|
138
|
-
- websi/doc/README_FOR_APP
|
139
139
|
has_rdoc: true
|
140
140
|
homepage:
|
141
141
|
licenses: []
|