Categorygithub.com/bitrise-steplib/bitrise-step-xcode-test-without-building
modulepackage
0.0.0-20230726145040-6b35efe0e7af
Repository: https://github.com/bitrise-steplib/bitrise-step-xcode-test-without-building.git
Documentation: pkg.go.dev

# README

Xcode Test without building

Step changelog

Tests compiled bundles.

Description

Tests compiled bundles by running xcodebuild test-without-building command.

🧩 Get started

Add this step directly to your workflow in the Bitrise Workflow Editor.

You can also run this step directly with Bitrise CLI.

⚙️ Configuration

Inputs
KeyDescriptionFlagsDefault
xctestrunTest run parameters file, generated during the build-for-testing action.required$BITRISE_XCTESTRUN_FILE_PATH
destinationDestination specifier describes the device to use as a destination. The input value sets xcodebuild's -destination option.requiredplatform=iOS Simulator,name=iPhone 8 Plus,OS=latest
test_repetition_modeDetermines how the tests will repeat. Available options: - none: Tests will never repeat. - until_failure: Tests will repeat until failure or up to maximum repetitions. - retry_on_failure: Only failed tests will repeat up to maximum repetitions. - up_until_maximum_repetitions: Tests will repeat up until maximum repetitions. The input value together with Maximum Test Repetitions (maximum_test_repetitions) input sets xcodebuild's -run-tests-until-failure / -retry-tests-on-failure or -test-iterations option.none
maximum_test_repetitionsThe maximum number of times a test repeats based on the Test Repetition Mode (test_repetition_mode). Should be more than 1 if the Test Repetition Mode is other than none. The input value sets xcodebuild's -test-iterations option.required3
relaunch_tests_for_each_repetitionIf this input is set, tests will launch in a new process for each repetition. By default, tests launch in the same process for each repetition. The input value sets xcodebuild's -test-repetition-relaunch-enabled option.no
xcodebuild_optionsAdditional options to be added to the executed xcodebuild command.
Outputs
Environment VariableDescription
BITRISE_XCRESULT_PATHThe result bundle path generated by xcodebuild test-without-building.
BITRISE_XCRESULT_ZIP_PATHThe zipped result bundle path generated by xcodebuild test-without-building.

🙋 Contributing

We welcome pull requests and issues against this repository.

For pull requests, work on your changes in a forked repository and use the Bitrise CLI to run step tests locally.

Learn more about developing steps:

# Packages

No description provided by the author
No description provided by the author
No description provided by the author