From 7c7d74ec988774f4b5de6436394a6857f78eb51b Mon Sep 17 00:00:00 2001 From: Ian Wagner Date: Thu, 6 Mar 2025 21:47:51 +0900 Subject: [PATCH] Document how to run XCTest unit tests for iOS --- docs/mdbook/src/ios/ios-tests.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/mdbook/src/ios/ios-tests.md b/docs/mdbook/src/ios/ios-tests.md index 05c929c0ac0..a9d7435c7b1 100644 --- a/docs/mdbook/src/ios/ios-tests.md +++ b/docs/mdbook/src/ios/ios-tests.md @@ -1,5 +1,14 @@ # iOS Tests +## iOS Unit Tests + +To run the iOS unit tests via XCTest, run tests for the `ios_test` target in Xcode +or use the following bazel command: + +``` +bazel test //platform/ios/test:ios_test --test_output=errors --//:renderer=metal +``` + ## Render Tests To run the render tests, run the `RenderTest` target from iOS.