What problem does it solve? Testing Tauri desktop applications is difficult because they combine a Rust backend with a webview frontend, and standard web testing tools cannot drive the native webview. This Skill provides concrete patterns for mocking Tauri IPC APIs in unit tests and running real end-to-end tests through the WebDriver protocol. ## Core Features & Use Cases - Mock-Based Unit Testing: Use @tauri-apps/api/mocks with Vitest to simulate IPC commands, events, sidecar processes, and multi-window state without launching a native webview. - WebDriver E2E Testing: Configure tauri-driver with WebdriverIO or Selenium to automate the real application binary on Linux and Windows. - CI Integration: Ready-to-adapt GitHub Actions workflow covering dependency installation, headless execution with xvfb-run, and a Linux/Windows test matrix. - Use Case: You are building a Tauri 2 desktop app and want to verify that clicking a button invokes a Rust command and updates the UI. Use this Skill to write a Vitest mock test for the IPC layer and a WebdriverIO spec that clicks the real button in the built application. ## Quick Start Set up Vitest with @tauri-apps/api/mocks to unit test my Tauri commands, then configure tauri-driver with WebdriverIO for end-to-end tests.