testcentricity_web 0.9.9.7 → 0.9.9.8
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.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 29f9ccbbaeaff5d2cd2d9e18c5dcb23eac4312d7
|
4
|
+
data.tar.gz: 94322548cb6730c84dea5775f8d1ac7f639f50c3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 71c08deb536ab8d8f513355ac5e8acd9cc2c569609c6cd871ad0dc5a455c50975c20afe7e15598e2c77127a6fbf03f1321e9c277b2bdab94d50b642f47c79569
|
7
|
+
data.tar.gz: 709f265a8e6d7d05bfb8840ba32ef90821b0340823fefa02979072eb690284d82c791242b825629f9b6270bac7f0f47c9b72cd61ccecc33474287fe89e315e3c
|
@@ -44,19 +44,21 @@ module TestCentricity
|
|
44
44
|
|
45
45
|
|
46
46
|
class ExcelDataSource < TestCentricity::DataSource
|
47
|
-
def pick_excel_data_source(sheet,
|
47
|
+
def pick_excel_data_source(sheet, row_spec)
|
48
48
|
environment = ENV['TEST_ENVIRONMENT']
|
49
49
|
data_file = "#{XL_PRIMARY_DATA_PATH}#{environment}_data.xls"
|
50
|
-
data_file = XL_PRIMARY_DATA_FILE unless ExcelData.rowspec_exists?(data_file, sheet,
|
50
|
+
data_file = XL_PRIMARY_DATA_FILE unless ExcelData.rowspec_exists?(data_file, sheet, row_spec)
|
51
51
|
data_file
|
52
52
|
end
|
53
53
|
|
54
|
-
def read_excel_row_data(sheet, row_name)
|
55
|
-
|
54
|
+
def read_excel_row_data(sheet, row_name, parallel = false)
|
55
|
+
(parallel == :parallel && ENV['PARALLEL']) ? row_spec = "#{row_name}#{ENV['TEST_ENV_NUMBER']}" : row_spec = row_name
|
56
|
+
ExcelData.read_row_data(pick_excel_data_source(sheet, row_spec), sheet, row_spec)
|
56
57
|
end
|
57
58
|
|
58
|
-
def read_excel_pool_data(sheet, row_name)
|
59
|
-
|
59
|
+
def read_excel_pool_data(sheet, row_name, parallel = false)
|
60
|
+
(parallel == :parallel && ENV['PARALLEL']) ? row_spec = "#{row_name}#{ENV['TEST_ENV_NUMBER']}" : row_spec = row_name
|
61
|
+
ExcelData.read_row_from_pool(pick_excel_data_source(sheet, row_name), sheet, row_spec)
|
60
62
|
end
|
61
63
|
|
62
64
|
def read_excel_range_data(sheet, range_name)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: testcentricity_web
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.9.
|
4
|
+
version: 0.9.9.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- A.J. Mrozinski
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-07-
|
11
|
+
date: 2016-07-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|