In case you need to include several tests:
xcodebuild -project Some.xcodeproj \
-scheme AllTests -only-testing:PersistenceTests -only-testing:FoundationTests test
Documentation:
An xcodebuild command can combine multiple constraint options, but
-only-testing: has precedence over -skip-testing:.