Sha256: ced67d49c1f0a8643b567366da93cd3255aec987061eecb6f7a42c2b77aa4d4e

Contents?: true

Size: 1.01 KB

Versions: 9

Compression:

Stored size: 1.01 KB

Contents

Given(/^I have tests in my suite from 2 classes$/) do
  add_run_input SAMPLE_OCUNIT_TEST
  add_run_input SAMPLE_KIWI_TEST
end

When(/^I pipe to xcpretty with "(.*?)" and specify a custom path$/) do |args|
  step("I pipe to xcpretty with \"#{args} --output #{custom_report_path}\"")
end

When(/^I pipe to xcpretty with two custom "(.*?)" report paths$/) do |type|
  step("I pipe to xcpretty with \"--report #{type} --output #{custom_report_path} --report #{type} --output #{other_custom_report_path}\"")
end

Then(/^I should have test reports in two custom paths$/) do
  step("I should have a test report at \"#{custom_report_path}\"")
  step("I should have a test report at \"#{other_custom_report_path}\"")
end

Then(/^I should have a test report in a custom path$/) do
  step("I should have a test report at \"#{custom_report_path}\"")
end

When(/^I pipe to xcpretty with a custom reporter$/) do
  reporter_path = File.expand_path('../../../spec/fixtures/custom_reporter.rb', __FILE__)
  run_xcpretty("-r #{reporter_path}")
end

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
xcpretty-0.4.0 features/steps/report_steps.rb
xcpretty-security-patched-0.3.2 features/steps/report_steps.rb
xcpretty-security-patched-0.3.0 features/steps/report_steps.rb
xcpretty-0.3.0 features/steps/report_steps.rb
xcpretty-0.2.8 features/steps/report_steps.rb
xcpretty-0.2.7 features/steps/report_steps.rb
xcpretty-0.2.6 features/steps/report_steps.rb
xcpretty-0.2.4 features/steps/report_steps.rb
xcpretty-0.2.3 features/steps/report_steps.rb