yolo 1.2.4 → 1.2.5
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.
@@ -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
|
|