tauri-testing
Skill3 starsChanged 3 months agoMITView on GitHub
Test Tauri 2 frontends, Rust commands, IPC contracts, permissions, and packaged applications. Use when adding tests, diagnosing regressions, or preparing a Tauri change for review.
In this repository8 other files it gives its agents.
- tauri-architectureSkill
- tauri-frontendSkill
- tauri-mobileSkill
- tauri-pluginsSkill
- tauri-releaseSkill
- tauri-rustSkill
- tauri-securitySkill
- tauri-setupSkill
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 8 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈8
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Start with the official testing guide.
- Distinctive: line 12
Run existing frontend and Rust tests before editing.
- Distinctive: line 14
Test IPC at the boundary: valid and malformed payloads, unknown commands, typed errors, serialization compatibility, events, and channel …
- Distinctive: line 15
Test security behavior explicitly: denied capability, scope escape attempts, untrusted paths/URLs, CSP/header failures, and remote-content …
- Distinctive: line 16
Test packaging inputs: configured resources exist at expected paths and sidecars are present, executable, target-matched, permissioned, and …
- Distinctive: line 17
Run platform-aware integration tests for packaged behavior where the feature uses OS APIs.
- Very specific: line 18
Run cargo test, frontend tests, the project's Tauri build/check command, and packaged smoke tests.
- Distinctive: line 22
Prefer deterministic assertions over sleeps and screenshots alone.
- Distinctive: line 23
Keep fixtures isolated; never use real credentials, personal files, or production endpoints.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Tauri testing
Start with the official testing guide. This skill is scoped to Tauri 2; record installed CLI, crate, frontend, and plugin versions for failures.
Workflow
- Run existing frontend and Rust tests before editing; identify real scripts, resources, sidecars, and target matrix.
- Unit-test frontend state and adapters without requiring a WebView. Unit-test Rust validation, transformations, and error mapping with normal Rust tooling.
- Test IPC at the boundary: valid and malformed payloads, unknown commands, typed errors, serialization compatibility, events, and channel ordering/cancellation where used.
- Test security behavior explicitly: denied capability, scope escape attempts, untrusted paths/URLs, CSP/header failures, and remote-content restrictions.
- Test packaging inputs: configured resources exist at expected paths and sidecars are present, executable, target-matched, permissioned, and correctly invoked. Exercise missing-resource and sidecar failure paths.
- Run platform-aware integration tests for packaged behavior where the feature uses OS APIs. For Android and iOS, install a debug build on at least one emulator/device per target, smoke-test launch, navigation, IPC, permissions, lifecycle resume, resource/sidecar behavior where supported, and graceful unsupported-platform handling.
- Run
cargo test, frontend tests, the project's Tauri build/check command, and packaged smoke tests. Prefer CI matrix evidence over a single desktop dev run.
Safe defaults
- Prefer deterministic assertions over sleeps and screenshots alone.
- Keep fixtures isolated; never use real credentials, personal files, or production endpoints.
- A passing dev build is insufficient evidence for packaging, permissions, mobile, or updater behavior.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

