bucky-core 0.10.24 → 0.10.26
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/exe/bucky +1 -0
- data/lib/bucky/core/database/test_data_operator.rb +4 -2
- data/lib/bucky/core/test_core/test_manager.rb +1 -1
- data/lib/bucky/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 43e1ec2b6fd1748fc34857f48dd680e02e78e1ef2d4ba288d4132987dad6500d
|
4
|
+
data.tar.gz: ff6284b8ffb546d1bc5e4130a9777dd15c606554cd8c8f980672dd148cd78943
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4e798849241314a50dc71bbd582525e890677b82a995686d070cc1a5dd1a36fe48c82c298ce8984610cf102c970bd4e4409bd055996989442bb6c1c0f8f34fc6
|
7
|
+
data.tar.gz: 2278bac30c42f242d168cdd1b4cdd50bcb350ceb264f58d06ba60d01c2ae4a101d0f30b75e25f1e42c8f74e401ca1e341e1be87e0fc8be35a216bc81df767201
|
data/README.md
CHANGED
@@ -155,7 +155,7 @@ cases:
|
|
155
155
|
- proc: open page
|
156
156
|
exec:
|
157
157
|
operate: go
|
158
|
-
url: <%= ENV['
|
158
|
+
url: <%= ENV['BASE_FQDN'] %>/results # Using erb notation to get environment variable
|
159
159
|
- proc: element click
|
160
160
|
exec:
|
161
161
|
operate: click
|
@@ -224,7 +224,7 @@ cases:
|
|
224
224
|
desc: status check for detail page
|
225
225
|
urls:
|
226
226
|
- https://example.com/detail/1
|
227
|
-
- <%= ENV['
|
227
|
+
- <%= ENV['BASE_FQDN'] %>/detail/2 # Using erb notation to get environment variable
|
228
228
|
```
|
229
229
|
|
230
230
|
# Development
|
data/exe/bucky
CHANGED
@@ -15,11 +15,13 @@ module Bucky
|
|
15
15
|
|
16
16
|
# Save job data and return job id
|
17
17
|
# @param [Time] start_time
|
18
|
+
# @param [String] command_and_option
|
19
|
+
# @param [String] fqdn
|
18
20
|
# @return [Fixnum] job_id
|
19
|
-
def save_job_record_and_get_job_id(start_time, command_and_option)
|
21
|
+
def save_job_record_and_get_job_id(start_time, command_and_option, fqdn)
|
20
22
|
return 0 if $debug
|
21
23
|
|
22
|
-
job_id = @connector.con[:jobs].insert(start_time: start_time, command_and_option: command_and_option)
|
24
|
+
job_id = @connector.con[:jobs].insert(start_time: start_time, command_and_option: command_and_option, base_fqdn: fqdn)
|
23
25
|
@connector.disconnect
|
24
26
|
job_id
|
25
27
|
end
|
@@ -93,7 +93,7 @@ module Bucky
|
|
93
93
|
@re_test_count = @test_cond[:re_test_count]
|
94
94
|
@tdo = Bucky::Core::Database::TestDataOperator.new
|
95
95
|
@start_time = Time.now
|
96
|
-
$job_id = @tdo.save_job_record_and_get_job_id(@start_time, @test_cond[:command_and_option])
|
96
|
+
$job_id = @tdo.save_job_record_and_get_job_id(@start_time, @test_cond[:command_and_option], @test_cond[:base_fqdn])
|
97
97
|
@json_report = {
|
98
98
|
summary: {
|
99
99
|
cases_count: 0,
|
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.26
|
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:
|
16
|
+
date: 2024-10-29 00:00:00.000000000 Z
|
17
17
|
dependencies:
|
18
18
|
- !ruby/object:Gem::Dependency
|
19
19
|
name: awesome_print
|
@@ -479,7 +479,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
479
479
|
- !ruby/object:Gem::Version
|
480
480
|
version: '0'
|
481
481
|
requirements: []
|
482
|
-
rubygems_version: 3.
|
482
|
+
rubygems_version: 3.4.1
|
483
483
|
signing_key:
|
484
484
|
specification_version: 4
|
485
485
|
summary: System testing framework for web application.
|