features/steps/formatting_steps.rb in xcpretty-0.2.8 vs features/steps/formatting_steps.rb in xcpretty-0.3.0
- old
+ new
@@ -1,10 +1,14 @@
# encoding: utf-8
Given(/^I have a file to compile$/) do
add_run_input SAMPLE_COMPILE
end
+Given(/^I have a file to compile with ccache$/) do
+ add_run_input SAMPLE_COMPILE_CCACHE
+end
+
Given(/^I have a xib to compile$/) do
add_run_input SAMPLE_COMPILE_XIB
end
Given(/^I have a storyboard to compile$/) do
@@ -27,9 +31,13 @@
add_run_input SAMPLE_ANALYZE_SHALLOW
end
Given(/^I have a failing test in my suite$/) do
add_run_input SAMPLE_OLD_SPECTA_FAILURE
+end
+
+Given(/^I have a swift fatal error in a test in my suite$/) do
+ add_run_input SAMPLE_SWIFT_FATAL_ERROR_IN_TEST_MAKE_TESTS_RESTARTING
end
Given(/^all of my tests will pass in my suite$/) do
3.times { add_run_input SAMPLE_OCUNIT_TEST }
end