/test - Run Swift Tests
Run tests for the macOS client.
Usage
code
/test # Run all tests /test <name> # Run tests matching name
Workflow
Run Tests
bash
# All tests swift test # Specific test class or method swift test --filter <TestName> # Verbose output swift test --verbose
Interpret Results
- •All tests passed: Report success
- •Tests failed:
- •Show which tests failed
- •Show error messages
- •Suggest fixes if obvious
Common Issues
- •Build failed: Run
swift buildfirst to see build errors - •Test not found: Check test file is in Tests/SubStackClientTests/
- •Async test timeout: Increase timeout or check for deadlocks