This is a demo iOS app for the Salad testing library.
It is a to-do list that has UI tests to validate its behavior.
Check out the folder SaladSampleAppUITests
for the UI tests.
Open the Xcode project and choose: Product > Test (shortcut: ⌘+U).
Example are provided for GitHub actions and CircleCI, as well as a Fastlane configuration.
Check out the fastlane
folder.
To run the tests through Fastlane: brew install fastlane && fastlane test
.
Since this project is hosted on GitHub, you can also look at the GitHub Actions configuration in the .github
folder.
An example CircleCI configuration is provided in the .circleci
folder.
Example command-line usage using xcodebuild
:
xcodebuild test -project SaladSampleApp.xcodeproj \
-scheme SaladSampleApp \
-testPlan UITests \
-destination "platform=iOS Simulator,name=iPhone 13" \
-resultBundlePath "./TestResults.xcresult"