
from claude-code-tauri-skills14
Testing patterns and tooling for Tauri v2 apps: unit/integration mocks, WebDriver e2e tests, and CI integration with GitHub Actions.
Guides developers through practical testing strategies for Tauri v2 applications. Covers mocking Tauri APIs for fast unit/integration tests, WebDriver-based end-to-end testing (tauri-driver/WebDriverIO/Selenium), and continuous integration workflows for reliable automated testing. Includes example configurations and code snippets to get tests running locally and in CI.
Use this skill when you need to: set up unit or integration tests that mock the Tauri runtime; add end-to-end tests that exercise the real application via WebDriver; or wire tests into GitHub Actions to run on push and PRs. Helpful for teams shipping Tauri apps who want repeatable, CI-run tests.
Best suited for developer-focused coding assistants and automation tools that can run or explain test setups (e.g., Claude Code, Copilot-style agents, code-focused LLMs).
Documentation-only skill covering Tauri v2 testing: unit/integration mocks via @tauri-apps/api/mocks, WebDriver e2e with WebdriverIO and Selenium, and CI integration with GitHub Actions. No bundled scripts — purely instructional. Well-organized with clear code examples, best practices, and troubleshooting. Minor security note: examples include sudo apt-get and unvalidated spawn paths, but all are standard practice for the domain.
Clean documentation skill with no executable scripts. Code examples are educational, not operational. Good coverage of Tauri v2 testing ecosystem including v2.7.0+ event mocking.