Skip to content

Q42/Salad.DemoApp

Repository files navigation

Salad sample app

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.

How to run the tests

Open the Xcode project and choose: Product > Test (shortcut: ⌘+U).

Continuous integration

Example are provided for GitHub actions and CircleCI, as well as a Fastlane configuration.

Fastlane

Check out the fastlane folder. To run the tests through Fastlane: brew install fastlane && fastlane test.

GitHub Actions

Since this project is hosted on GitHub, you can also look at the GitHub Actions configuration in the .github folder.

CircleCI

An example CircleCI configuration is provided in the .circleci folder.

xcodebuild

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"

About

Demo project for the Salad UI testing library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published