swiftlang / swiftlang/swift-testing

Support for hosting UI automation tests

Open
#516 2 comments 8 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

darwin enhancement public-api question
Dominant language
Swift
Stars
2.2k
Forks
169
Avg merge
1d 18h
Merged PRs (30d)
56

Description

Description

Looks that Swift Testing does not support UITest at the moment. Any plans to support UITest in the future?

Certainly, there are some differences in testing APIs between unit testing and UI testing, But supporting UITest would help maintain a unified and friendly testing experience and test ecosystem.

Expected behavior

Use Swift testing in UITest

Actual behavior

Can not import Testing in UITest Target

image

Steps to reproduce

No response

swift-testing version/commit hash

No response

Swift & OS version (output of swift --version && uname -a)

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the reported inability to import Testing in a UITest target. The issue names no source files, tests, or Swift/OS versions, so first determine how Swift Testing is integrated with UI test targets. Done means UITest code can import Swift Testing and run with the expected unified testing experience.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
mobile, testing
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.