Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 756 Bytes

test_options_from_testplan.md

File metadata and controls

31 lines (21 loc) · 756 Bytes

☑️ test_options_from_testplan

Get the tests and test coverage values from a given testplan.

Example

UI.important(
  'example: ' \
  'get the tests and the test coverage configuration from a given testplan'
)
test_options = test_options_from_testplan(
  testplan: 'AtomicBoy/AtomicBoy_2.xctestplan'
)
UI.message("The AtomicBoy_2 testplan has the following tests: #{test_options[:only_testing]}")

Parameters

Parameter Description Default Value
testplan The Xcode testplan to read the test info from