Phyto is an end-to-end testing framework for Tauri applications, providing a DSL with `test` and `group` functions and a per-test Node harness. It integrates directly with Tauri's runtime to enable seamless automated UI and backend testing. The current stable version is 0.1.47, released as a lightweight alternative to Specta and Playwright for Tauri projects, with native TypeScript support and minimal configuration. Development is active, with frequent updates addressing Tauri version compatibility.
npm install phytoNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to define a test group and a basic test that launches a Tauri development app, checks window visibility, and closes the app.
Pin to a specific version and test after each upgrade.
Use `context.launch({ dev: true })` instead of `context.launch('/path/to/tauri')`.Always declare the test callback as `async (context) => { ... }`.Run `npm install phyto --save-dev`.
Use `import { test, group } from 'phyto'` and call `group(...)` separately.Use `import { test } from 'phyto'` instead of `import test from 'phyto'`.