Run specific tests
Run a subset of the app's test suite by specifying a test target, class, or method.
Xcode MCP (preferred)
- •Run
mcp__xcode__XcodeListWindowsto get thetabIdentifierfor the Popcorn workspace. - •If unsure of the exact test specifier, run
mcp__xcode__GetTestListto find available test targets and classes. - •Run
mcp__xcode__RunSomeTestswith thetabIdentifierand the test specifiers matching$ARGUMENTS.
Fallback
Run make test TEST_TARGET=<specifier> from the project root, where <specifier> is the -only-testing value (e.g. a test target or Target/ClassName/methodName).
Examples
bash
# Run all tests in a specific test target make test TEST_TARGET=MovieDetailsFeatureTests # Run a specific test class make test TEST_TARGET=MovieDetailsFeatureTests/MovieDetailsFeatureTests # Run a specific test method make test TEST_TARGET=MovieDetailsFeatureTests/MovieDetailsFeatureTests/testFetchMovieDetails