bucky-core 0.10.3 → 0.10.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +3 -3
- data/lib/bucky/core/test_core/test_class_generator.rb +1 -1
- data/lib/bucky/test_equipment/test_case/e2e_test_case.rb +2 -2
- data/lib/bucky/test_equipment/user_operation/user_operator.rb +1 -1
- data/lib/bucky/test_equipment/verifications/service_verifications.rb +1 -1
- data/lib/bucky/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e3db572b6f3e84c8b087f6377fb6555870d7939a
|
4
|
+
data.tar.gz: 3e89f508f717f428f1d04e33e849fc21ddf0d1dd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a64215cd06c5bf53ce5d9f8d00c9c10c89ba1dbfdac12586223904c4f5c2e332323935545e37c46b36a1ca9d8360b693770dd803dc1c314a6c584a60c2fe4f5a
|
7
|
+
data.tar.gz: a9d1771ad211ba033b3f49c15d59d1f60405f82c053ae29fe1a59d3eac2dce8559ee55de3444ddb69b6d83c3d75a8260a906ae44c686e9bb84a0adf19e6fc364
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
bucky-core (0.10.
|
4
|
+
bucky-core (0.10.3)
|
5
5
|
addressable (~> 2.5)
|
6
6
|
color_echo (~> 3.1)
|
7
7
|
json (~> 2.1)
|
@@ -34,12 +34,12 @@ GEM
|
|
34
34
|
json (2.1.0)
|
35
35
|
method_source (0.9.0)
|
36
36
|
mini_portile2 (2.4.0)
|
37
|
-
nokogiri (1.10.
|
37
|
+
nokogiri (1.10.9)
|
38
38
|
mini_portile2 (~> 2.4.0)
|
39
39
|
parallel (1.12.1)
|
40
40
|
parser (2.6.3.0)
|
41
41
|
ast (~> 2.4.0)
|
42
|
-
power_assert (1.1.
|
42
|
+
power_assert (1.1.6)
|
43
43
|
pry (0.11.3)
|
44
44
|
coderay (~> 1.1.0)
|
45
45
|
method_source (~> 0.9.0)
|
@@ -18,7 +18,7 @@ module Bucky
|
|
18
18
|
procedure[:proc] ||= ''.dup
|
19
19
|
puts " #{step_number}:#{procedure[:proc]}"
|
20
20
|
method = procedure[:exec].key?(:operate) ? :operate : :verify
|
21
|
-
send(method, exec: procedure[:exec], step_number: step_number)
|
21
|
+
send(method, exec: procedure[:exec], step_number: step_number, proc_name: procedure[:proc])
|
22
22
|
end
|
23
23
|
end
|
24
24
|
|
@@ -37,13 +37,13 @@ module Bucky
|
|
37
37
|
end
|
38
38
|
|
39
39
|
# Call mothod of verification
|
40
|
-
# @param [Hash] verify_args e.g.) {:exec=>{verify: "assert_title", expect: "page title"}, :step_number=> 1}
|
40
|
+
# @param [Hash] verify_args e.g.) {:exec=>{verify: "assert_title", expect: "page title"}, :step_number=> 1, :proc_name=> "test proc"}
|
41
41
|
def verify(**verify_args)
|
42
42
|
@service_verifications.send(verify_args[:exec][:verify], verify_args)
|
43
43
|
end
|
44
44
|
|
45
45
|
# Call method of user operation
|
46
|
-
# @param [Hash] op_args e.g.) {:exec=>{:operate=>"click", :page=>"top_page", :part=>"fizz_button"}, :step_number=> 1}
|
46
|
+
# @param [Hash] op_args e.g.) {:exec=>{:operate=>"click", :page=>"top_page", :part=>"fizz_button"}, :step_number=> 1, :proc_name=> "test proc"}
|
47
47
|
def operate(**op_args)
|
48
48
|
@user_operator.send(op_args[:exec][:operate], method_name, op_args)
|
49
49
|
end
|
@@ -34,7 +34,7 @@ module Bucky
|
|
34
34
|
# Call method of part
|
35
35
|
part_mothod(args[:exec]) if args[:exec].key?(:part)
|
36
36
|
rescue StandardError => e
|
37
|
-
Bucky::Core::Exception::WebdriverException.handle(e, "#{args[:step_number]}:#{args[:
|
37
|
+
Bucky::Core::Exception::WebdriverException.handle(e, "#{args[:step_number]}:#{args[:proc_name]}")
|
38
38
|
end
|
39
39
|
|
40
40
|
private
|
@@ -33,7 +33,7 @@ module Bucky
|
|
33
33
|
raise StandardError, "Undefined verification method or invalid arguments. #{verification},#{args[:exec]}"
|
34
34
|
end
|
35
35
|
rescue StandardError => e
|
36
|
-
Bucky::Core::Exception::WebdriverException.handle(e, "#{args[:step_number]}:#{args[:
|
36
|
+
Bucky::Core::Exception::WebdriverException.handle(e, "#{args[:step_number]}:#{args[:proc_name]}")
|
37
37
|
end
|
38
38
|
|
39
39
|
private
|
data/lib/bucky/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bucky-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.10.
|
4
|
+
version: 0.10.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- NaotoKishino
|
@@ -13,7 +13,7 @@ authors:
|
|
13
13
|
autorequire:
|
14
14
|
bindir: exe
|
15
15
|
cert_chain: []
|
16
|
-
date: 2020-03-
|
16
|
+
date: 2020-03-16 00:00:00.000000000 Z
|
17
17
|
dependencies:
|
18
18
|
- !ruby/object:Gem::Dependency
|
19
19
|
name: awesome_print
|