itriagetestrail 1.0.11 → 1.0.12
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: d0387abc222cae089acbb400ade6c0a956dcfcc7
|
4
|
+
data.tar.gz: 66c32216c3f2008b8959a874151229c3a35d932f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a1323588ed7db74da556c899337b81a27ed01de08574005539a99a749fcc2dadceb4a4e67e83c9129a5e420c91f52d68e9440c5b98f97f085e6820e649bfa9f4
|
7
|
+
data.tar.gz: '05149e94ded8fc656852be78b6c9fad88c44aedef812e9568fa90a24dafaf529e99a739ee6be65fe49a385f16dbc412de01e59e8813b63cd45ee7a55c0bc83c9'
|
data/lib/itriagetestrail.rb
CHANGED
@@ -103,6 +103,7 @@ module Itriagetestrail
|
|
103
103
|
projectName: ENV['APP_NAME'],
|
104
104
|
suiteName: ENV['TESTRAIL_SUITE_NAME'],
|
105
105
|
run_id: ENV['TESTRAIL_RUN_ID'],
|
106
|
+
report_skips: ENV['TESTRAIL_REPORT_SKIPS'],
|
106
107
|
close_run: ENV['TESTRAIL_CLOSE_RUN'],
|
107
108
|
close_run_delay: ENV['TESTRAIL_CLOSE_RUN_DELAY'],
|
108
109
|
origin: ENV['GIT_BRANCH'],
|
@@ -16,7 +16,9 @@ module Itriagetestrail
|
|
16
16
|
end
|
17
17
|
|
18
18
|
def existing_cases_from_run(run_id = @run_id)
|
19
|
-
|
19
|
+
allowed_statuses = %i[1 2 4 5]
|
20
|
+
allowed_statuses << 6 if @testrail_config[:report_skips] == 'true'
|
21
|
+
tests = @client.send_get("get_tests/#{run_id}&status_id=#{allowed_statuses.compact.join(',')}") || []
|
20
22
|
|
21
23
|
cases = []
|
22
24
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: itriagetestrail
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- a801069
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-02-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tzinfo
|