Skip to content

Commit

Permalink
Add link to demo xctest repo
Browse files Browse the repository at this point in the history
  • Loading branch information
bahrimootaz committed Feb 26, 2025
1 parent a919da1 commit c9c256d
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion docs/mobile-apps/automated-testing/espresso-xcuitest/xctest.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,4 +88,16 @@ A XCTest plan can contain multiple Test Targets, even for different apps. If thi


## 4. Example Implementation
For a practical example of how to set up and run your XCTest plan, XCTests and XCUITests on Sauce Labs infrastructure you can follow this demo repository... TODO

For a practical example of how to set up and run your XCTest and XCUITest plans on Sauce Labs infrastructure, you can refer to
the [demo-xctest repository](https://github.com/saucelabs-training/demo-xctest).

This repository contains multiple examples of how to run XCTest plan on Sauce Labs cloud, along with the source code for the demonstration app
used in these examples. By leveraging `xctestplan` and `xctestrun` configuration files, this demo shows how to execute an XCTest plan, similar to

Check warning on line 96 in docs/mobile-apps/automated-testing/espresso-xcuitest/xctest.md

View workflow job for this annotation

GitHub Actions / vale

[vale] docs/mobile-apps/automated-testing/espresso-xcuitest/xctest.md#L96

[sauce.Inclusivity] Avoid problematic language. Use 'run' instead of 'execute'.
Raw output
{"message": "[sauce.Inclusivity] Avoid problematic language. Use 'run' instead of 'execute'.", "location": {"path": "docs/mobile-apps/automated-testing/espresso-xcuitest/xctest.md", "range": {"start": {"line": 96, "column": 112}}}, "severity": "WARNING"}
using the following xcodebuild command:

```shell
xcodebuild test-without-building -xctestrun $(PATH_TO_XCTESTRUN_FILE)
```

Visit the repo to see how everything is configured and try running your own XCTest plan on Sauce Labs' real devices.

Check warning on line 103 in docs/mobile-apps/automated-testing/espresso-xcuitest/xctest.md

View workflow job for this annotation

GitHub Actions / vale

[vale] docs/mobile-apps/automated-testing/espresso-xcuitest/xctest.md#L103

[sauce.WordList] Use 'repository' instead of 'repo'.
Raw output
{"message": "[sauce.WordList] Use 'repository' instead of 'repo'.", "location": {"path": "docs/mobile-apps/automated-testing/espresso-xcuitest/xctest.md", "range": {"start": {"line": 103, "column": 11}}}, "severity": "WARNING"}

0 comments on commit c9c256d

Please sign in to comment.