https://github.com/testingbot/xcuitest-example-app
Example app for XCUITesting
https://github.com/testingbot/xcuitest-example-app
Last synced: 8 months ago
JSON representation
Example app for XCUITesting
- Host: GitHub
- URL: https://github.com/testingbot/xcuitest-example-app
- Owner: testingbot
- Created: 2021-11-12T11:16:44.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2021-11-12T11:21:15.000Z (about 4 years ago)
- Last Synced: 2025-01-19T19:16:55.475Z (about 1 year ago)
- Language: Swift
- Size: 127 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# xcuitest-sample-app

This is a sample iOS app, created by TestingBot, to demonstrate how to use [XCUITest](https://developer.apple.com/library/archive/documentation/DeveloperTools/Conceptual/testing_with_xcode/chapters/09-ui_testing.html) on [TestingBot](https://testingbot.com).
The app offers two input-fields, where you can enter numbers.
Upon clicking the 'calculate' button, the sum field will contain the sum of the two numbers that were entered.
The project contains an example XCUITest which performs these actions and verifies if the sum is correct.
## How to start
To get started, open the project in XCode and click *Product* then *Test*
If you'd like to run the test through commandline, you can use
```
xcodebuild -project xcuitest-sample.xcodeproj -scheme xcuitest-sample -destination 'platform=iOS Simulator,name=iPhone 13,OS=15.0' test
```
or any other kind of simulator or device udid.

## More information
To learn more about XCUITesting in the cloud, please see the [TestingBot XCUITest documentation](https://testingbot.com/support/xcuitest)