v1.1.0: Added Xcode test tool
Release Notes - Version 1.1.0
New Features
🧪 xcodebuild-test Tool - Run Tests with Smart Defaults
- New xcodebuild-test tool enables intelligent test execution with progressive disclosure
- Smart defaults: Automatically applies cached build configurations and simulator preferences
- Test filtering: Support for onlyTesting and skipTesting patterns for granular test control
- Test plans: Built-in support for named test plans
- Test-without-building: Execute pre-built tests with testWithoutBuilding flag
- Detailed metrics: Automatic parsing of test results with pass/fail counts and failed test
identification - Performance tracking: Records test execution patterns for optimization insights
- Progressive disclosure: Returns summary via testId with full logs accessible on demand
Improvements
📋 Code Style Guide (CODESTYLE.md)
- New comprehensive guide for human-AI code collaboration
- Establishes best practices for context engineering and token efficiency
- Documents patterns for progressive disclosure and intelligent caching
- Provides examples for sustainable long-term development
🔧 Build Tool Enhancement
- Minor refactoring to align with new code style standards
📖 Documentation Updates
- Updated README with new test operations in tool reference table
- Added xcodebuild-test to tool inventory with progressive disclosure support
Testing
- Comprehensive test suite (388+ lines) covering:
- Test configuration assembly and smart defaults
- Command building and execution
- Test result parsing and metric extraction
- Error handling and edge cases
- Cache integration and response formatting
Technical Details
- Version bump: 1.0.5 → 1.1.0
- ~1500 lines of new functionality and documentation
- 80% test coverage maintained
- All code quality checks passed (ESLint, Prettier, pre-commit hooks)
Key Achievement: Extends XC-MCP's intelligent wrapper pattern to test operations, maintaining the
progressive disclosure model that eliminates token overflow while preserving full Xcode CLI
functionality.
Published Package (v1.1.0)
Installation
npm install -g xc-mcp@1.1.0MCP Server Usage
node node_modules/xc-mcp/dist/index.js