93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
|
# File 'fastlane/lib/fastlane/actions/run_tests.rb', line 93
def self.example_code
[
'run_tests',
'scan # alias for "run_tests"',
'run_tests(
workspace: "App.xcworkspace",
scheme: "MyTests",
clean: false
)',
'# Build For Testing
run_tests(
derived_data_path: "my_folder",
build_for_testing: true
)',
'# run tests using derived data from prev. build
run_tests(
derived_data_path: "my_folder",
test_without_building: true
)',
'# or run it from an existing xctestrun package
run_tests(
xctestrun: "/path/to/mytests.xctestrun"
)'
]
end
|