From 18245efec56cb8f6c4969701ea6882473e66170d Mon Sep 17 00:00:00 2001 From: Ian Wagner Date: Fri, 7 Mar 2025 03:00:53 +0900 Subject: [PATCH] Document how to run XCTest unit tests for iOS (#3286) --- 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 05c929c0a..a9d7435c7 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.