Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

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