res 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/res/reporters/hive.rb +9 -4
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 30b35dcb30d280879775b9e15a0ec5bd0d55e289
|
4
|
+
data.tar.gz: fc1cbd5e304e11af6ba7ae4f406dd93c7ce4aeda
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ca7bd13c3a9312fd8b9c4f0cd1aa1f7a20d810adb037b86ccd37f2ebd04e1efdf322eb0f4271a6ec6015a334e74d47238a6c94072a286bc574a0f8208c89c17d
|
7
|
+
data.tar.gz: ffa22f1b34b2e2c7df830c7a7e607c7a411f854613e66b51fc0a261b88df3b2706151c725718d430cf804d00778a93b1253aa8022b57ba77c4190b701107c32d
|
data/lib/res/reporters/hive.rb
CHANGED
@@ -19,11 +19,16 @@ module Res
|
|
19
19
|
|
20
20
|
def submit_results(ir, args)
|
21
21
|
|
22
|
+
passed = ir.count(:passed)
|
23
|
+
failed = ir.count(:failed)
|
24
|
+
running = ir.count(:running)
|
25
|
+
errored = ir.tests.count - passed - failed - running
|
26
|
+
|
22
27
|
# Still include count summaries for backward compatability
|
23
|
-
params = { :failed_count =>
|
24
|
-
:passed_count =>
|
25
|
-
:errored_count =>
|
26
|
-
:running_count =>
|
28
|
+
params = { :failed_count => failed,
|
29
|
+
:passed_count => passed,
|
30
|
+
:errored_count => errored,
|
31
|
+
:running_count => running,
|
27
32
|
:result_details => ir.flat_format.to_json }
|
28
33
|
|
29
34
|
hive_job = ::Hive::Messages::Job.new(:job_id => args[:job_id])
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: res
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- BBC
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2015-10-
|
13
|
+
date: 2015-10-12 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: json
|
@@ -111,3 +111,4 @@ signing_key:
|
|
111
111
|
specification_version: 4
|
112
112
|
summary: Test Result report libraries
|
113
113
|
test_files: []
|
114
|
+
has_rdoc:
|