Skip to content
Development
Command

/test-commands

Run from the repository root. Install root and CLI dependencies before the full suite:

From plugin
eisland
3558 skills8 commands
$ npx -y skills add JNTMTMTM/eIsland --agent claude-code

Command definition

test-commands.md
title: Test Commands
icon: flask

Test Commands

Run from the repository root. Install root and CLI dependencies before the full suite:

npm ci --ignore-scripts
npm ci --prefix cli --ignore-scripts
npm test

`npm test` runs active Vitest projects, native API and release tooling tests, then Rust service tests.

| Command | Coverage | | --- | --- | | `npm run test:unit` | Shared, renderer and CLI unit tests | | `npm run test:shared` | Shared TypeScript modules | | `npm run test:renderer` | Renderer components and behavior | | `npm run test:cli` | Repository development CLI | | `npm run test:api` | Native API, runtime entry points and release tooling | | `npm run test:release` | Installer, upload ordering, manifest and cache refresh behavior | | `npm run test:rust` | Standard Rust unit/integration targets via cargo test --locked --all-targets | | `npm run test:e2e` | Tauri in real WebView2, followed by native service tests | | `npm run test:services` | Native streams/files/network/images and real toolbox download/history interactions | | `npm run test:coverage` | Coverage for active Vitest projects | | `npm run test:toolbox` | All toolbox renderer and dedicated API tests | | `npm run test:toolbox:coverage` | Complete toolbox JavaScript scope, with four overall 99% gates | | `npm run test:toolbox:rust:prepare` | Isolated instrumented Rust tests and desktop build | | `npm run test:toolbox:rust:env` | Print the matching PowerShell environment for native scenarios | | `npm run test:toolbox:coverage:rust` | Merge native profiles and report Rust line/function/region coverage | | `npm run test:discovery` | Verify application and CLI tests are collected once | | `npm run lint:config:test` | Lint rules, workflow classification and CI behavior |

API and release tests use Node's test runner. Rust tests require the MSVC toolchain. Release tests replace storage/CDN boundaries and do not publish files.

Toolbox coverage includes all production files under the toolbox, tools and dedicated API directories, even when tests do not import them. JavaScript lines, statements, functions and branches must each reach 99% overall; per-file values remain diagnostic. Reports include JSON, HTML, LCOV, file inventory and uncovered locations under `coverage/toolbox/renderer/`.

Native coverage is separate. Stable LLVM reports Rust lines, functions and regions; branch coverage is unsupported and explicitly reported without a percentage. Build the latest renderer, prepare the isolated native target, run real scenarios with the printed `LLVM_PROFILE_FILE` environment, and exit the application normally before generating reports. Native metrics below 99% still fail even if JavaScript passes. See the repository's `docs/TOOLBOX_COVERAGE.md` for the exact scope and commands.

Native desktop tests

See [E2E Testing](e2e-testing.md) for the debug build and binary selection. `test:services` uses the default debug executable or `EISLAND_SMOKE_BINARY`; a missing executable fails the tests. Native test files execute sequentially so the application's single-instance lock does not conflict between scenarios.

Read more
@jntmtmtm
Ships witheisland

eIsland - A sleek, Apple Dynamic Island inspired floating widget for Windows, built with Electron and Tauri.

Stars on GitHub

Momentum

stars in total
355
Star history of JNTMTMTM/eIsland on GitHub, a chart by star-history.com

Other commands on eisland.

cli

cli

Command

:::info This document covers the `eisland-cli` command line tool in `cli/`. It reads the scripts in the root `package.json` at…

@jntmtmtm@jntmtmtmInstall Command
dev-commands

dev-commands

Command

Run application commands from the **repository root**, where the application `package.json` lives. The desktop runtime is Tauri…

@jntmtmtm@jntmtmtmInstall Command
e2e-testing

e2e-testing

Command

Desktop tests launch the actual Tauri executable and connect to its WebView2 debugging endpoint with Playwright. Data and WebView…

@jntmtmtm@jntmtmtmInstall Command
esa-commands

esa-commands

Command

:::info This document covers the ESA (Edge Security Acceleration) CDN cache purge commands for clearing cached content on Alibaba…

@jntmtmtm@jntmtmtmInstall Command
package-commands

package-commands

Command

Run `npm run package` from the repository root to build a local signed Tauri installer. This does not upload, install, deploy or…

@jntmtmtm@jntmtmtmInstall Command
quality-commands

quality-commands

Command

:::info This document covers all code quality commands for the eIsland project — ESLint, Stylelint, HTML validation, comment…

@jntmtmtm@jntmtmtmInstall Command

More commands from other plugins.

build
Auto-invoked

build

Command

Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.

@addyosmani@addyosmaniInstall Command