yolo 1.2.4 → 1.2.5
Sign up to get free protection for your applications and to get access to all the features.
@@ -74,6 +74,14 @@ module Yolo
|
|
74
74
|
puts green("IPA saved to: #{ipa}")
|
75
75
|
end
|
76
76
|
|
77
|
+
#
|
78
|
+
# Outputs a green string stating that the calabash tests ran
|
79
|
+
# @param directory [String] The path to the tests
|
80
|
+
#
|
81
|
+
def tests_generated(directory)
|
82
|
+
puts green("Test reports saved to: #{directory}")
|
83
|
+
end
|
84
|
+
|
77
85
|
#
|
78
86
|
# Outputs an underlined bold string stating that the release notes are being generated
|
79
87
|
#
|
@@ -36,9 +36,13 @@ describe Yolo::Tools::Ios::Calabash do
|
|
36
36
|
Yolo::Tools::Ios::Calabash.run
|
37
37
|
end
|
38
38
|
|
39
|
-
it "should catch EOFError exceptions" do
|
39
|
+
it "should catch EOFError exceptions and output completion" do
|
40
40
|
@io.stub(:readline).and_raise(EOFError)
|
41
|
-
Yolo::
|
41
|
+
@formatter = mock(Yolo::Formatters::ProgressFormatter)
|
42
|
+
Yolo::Formatters::ProgressFormatter.stub(:new){@formatter}
|
43
|
+
@formatter.stub(:tests_generated)
|
44
|
+
|
45
|
+
@formatter.should_receive(:tests_generated)
|
42
46
|
Yolo::Tools::Ios::Calabash.run
|
43
47
|
end
|
44
48
|
|