rutema 2.0.0.pre8 → 2.0.0.pre9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/History.txt +2 -0
- data/lib/rutema/reporters/junit.rb +6 -6
- data/lib/rutema/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: facdf20993574a69732e949a82c4ddfbb0c822a1
|
4
|
+
data.tar.gz: 15dcee68bb4fd63958512fcee9d2cc0f41d74fc6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 909d1697ecb65b828b853016b20828b63aff7a64b1bac57a5d6167f0ae3677984d845afcdd719a8a74c3a3dae9a3b680c7b9c0246fb7049963745b963fdab8e6
|
7
|
+
data.tar.gz: 38255ba119a608a644997c473dad6c7c1b2104ea6345fce314c548a740b7462f4f043d2b135589692f5c132b2ba39adbf5d1ef98c07802e0bee7e493f8c18317
|
data/History.txt
CHANGED
@@ -47,7 +47,7 @@ module Rutema
|
|
47
47
|
"time"=>total_duration,
|
48
48
|
"timestamp"=>@configuration.context[:start_time]
|
49
49
|
}
|
50
|
-
return junit_content(
|
50
|
+
return junit_content(tests,attributes,errors)
|
51
51
|
end
|
52
52
|
private
|
53
53
|
def test_case name,state
|
@@ -62,14 +62,14 @@ module Rutema
|
|
62
62
|
element_test.add_attributes("name"=>name,"time"=>state["duration"],"classname"=>@configuration.context[:config_name])
|
63
63
|
if state['status']!=:success
|
64
64
|
fail=REXML::Element.new("failure")
|
65
|
-
fail.add_attribute("message","Step #{state["steps"].last
|
66
|
-
fail.
|
65
|
+
fail.add_attribute("message","Step #{state["steps"].last.number} failed.")
|
66
|
+
fail.add_text "Step #{state["steps"].last.number} failed."
|
67
67
|
element_test.add_element(fail)
|
68
68
|
out=REXML::Element.new("system-out")
|
69
|
-
out.
|
69
|
+
out.add_text state["steps"].last.out
|
70
70
|
element_test.add_element(out)
|
71
71
|
err=REXML::Element.new("system-err")
|
72
|
-
err.
|
72
|
+
err.add_text state["steps"].last.err
|
73
73
|
element_test.add_element(err)
|
74
74
|
end
|
75
75
|
return element_test
|
@@ -79,7 +79,7 @@ module Rutema
|
|
79
79
|
failed.add_attributes("name"=>name,"classname"=>@configuration.context[:config_name],"time"=>0)
|
80
80
|
msg=REXML::Element.new("error")
|
81
81
|
msg.add_attribute("message",message)
|
82
|
-
msg.
|
82
|
+
msg.add_text=message
|
83
83
|
failed.add_element(msg)
|
84
84
|
return failed
|
85
85
|
end
|
data/lib/rutema/version.rb
CHANGED