Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add xctest support #1004

Closed
wants to merge 5 commits into from
Closed

feat: add xctest support #1004

wants to merge 5 commits into from

Conversation

rillgen-saucelabs
Copy link

Description

Adds xctest test type support. Unlike xcuitest it doesn't require a "test" .ipa but a xctestrun file which is an Apple plist format as a descriptor. Here is what the configuration looks like:

apiVersion: v1alpha
kind: xctest
sauce:
  metadata:
    build: XCUITest Basic
  concurrency: 1
xctest:
  app: /Users/ricardoillgen/projects/saucelabs/rdc-xcuitest-test/apps/FlutterTestApp.ipa
  xcTestRunFile: /Users/ricardoillgen/projects/saucelabs/rdc-xcuitest-test/FlutterTest.xctestrun
suites:
  - name: "Basic XCTest"
    devices:
      - name: $DEVICE_NAME
        platformVersion: $PLATFORM_VERSION
artifacts:
  download:
    when: always
    match:
      - junit.xml
    directory: ./

@rillgen-saucelabs rillgen-saucelabs requested a review from a team as a code owner January 17, 2025 17:28
@rillgen-saucelabs rillgen-saucelabs changed the title add xctest support feat: add xctest support Jan 17, 2025
@rillgen-saucelabs rillgen-saucelabs added the enhancement New feature or request label Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant