Windsurf’s Cascade AI assistant provides collaborative multi-file editing for OpenTester test generation and management.
Prerequisites
- Windsurf editor installed
- OpenTester configured in your project
- Android device or emulator connected
Setup
Open your project in Windsurf
Launch Windsurf and open your Android project root.
Install or configure OpenTester
Either install globally:npm install -g opentester-mcp-server
Or install locally in your project:npm install --save-dev opentester-mcp-server
Use Cascade for test generation
Open Cascade and describe your test scenario. Cascade can generate multiple test files at once and understand your project structure.
Workflow
Multi-file test creation
Cascade excels at creating complete test suites across multiple files. Ask it to:
Create a test suite for user authentication. Include tests for login,
logout, and password reset. Save them in tests/e2e/.
Collaborative editing
Cascade can edit test files alongside your app code, understanding both contexts to create better tests.
Real-time validation
Run tests directly in the terminal while Cascade keeps your code and test files in sync.
Use Cascade’s ability to work across multiple files to create comprehensive test scenarios that interact with your actual app code.