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

Add an XCTest observer to swift_test targets that generates a JUnit-style XML log at the path in the XML_OUTPUT_PATH environment variable defined by Bazel #1222

Merged

Conversation

brentleyjones
Copy link
Collaborator

Due to differences between the open-source XCTest and Xcode's XCTest, only Darwin-based platforms can distinguish "skipped" tests from "passing" tests at this time (and even on that platform, it can only do so by referencing private APIs).

PiperOrigin-RevId: 437304646
(cherry picked from commit 497f079)

Copy link

google-cla bot commented Jun 18, 2024

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

brentleyjones referenced this pull request Jun 18, 2024
…-style XML log at the path in the `XML_OUTPUT_PATH` environment variable defined by Bazel.

Due to differences between the open-source XCTest and Xcode's XCTest, only Darwin-based platforms can distinguish "skipped" tests from "passing" tests at this time (and even on that platform, it can only do so by referencing private APIs).

PiperOrigin-RevId: 437304646
@brentleyjones brentleyjones force-pushed the bj/cp-497f079130da4b43e0d2a023dbecda80f113f4ab branch from 5c02f3a to 8c7db3f Compare June 19, 2024 22:43
@brentleyjones brentleyjones marked this pull request as ready for review June 19, 2024 22:43
@brentleyjones brentleyjones enabled auto-merge (rebase) June 19, 2024 22:43
@brentleyjones brentleyjones force-pushed the bj/cp-497f079130da4b43e0d2a023dbecda80f113f4ab branch 2 times, most recently from 4b702d2 to b243d47 Compare June 19, 2024 22:59
…-style XML log at the path in the `XML_OUTPUT_PATH` environment variable defined by Bazel.

Due to differences between the open-source XCTest and Xcode's XCTest, only Darwin-based platforms can distinguish "skipped" tests from "passing" tests at this time (and even on that platform, it can only do so by referencing private APIs).

PiperOrigin-RevId: 437304646
(cherry picked from commit 497f079)
Signed-off-by: Brentley Jones <github@brentleyjones.com>
@brentleyjones brentleyjones force-pushed the bj/cp-497f079130da4b43e0d2a023dbecda80f113f4ab branch from b243d47 to 84e80bf Compare June 19, 2024 23:04
@brentleyjones brentleyjones enabled auto-merge (rebase) June 19, 2024 23:04
@brentleyjones brentleyjones merged commit d6b7f13 into master Jun 19, 2024
14 checks passed
@brentleyjones brentleyjones deleted the bj/cp-497f079130da4b43e0d2a023dbecda80f113f4ab branch June 19, 2024 23:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants