# Test

> Run tests with vitest MCP for structured output Use when this capability is needed.

- Skill: `tomevault-io/test-28` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add tomevault-io/test-28`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tomevault-io/test-28/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: tomevault-io (https://skillmd.com/u/tomevault-io)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/tomevault-io/test-28

---


Run tests using vitest MCP.

## Project Roots

| Package  | Path                                                                 |
| -------- | -------------------------------------------------------------------- |
| Core     | /Users/pablo/development/personal/kaiord/packages/core               |
| Frontend | /Users/pablo/development/personal/kaiord/packages/workout-spa-editor |

## Test Patterns

| Type        | Pattern                 | Location                |
| ----------- | ----------------------- | ----------------------- |
| Unit        | `*.test.ts`             | Co-located with source  |
| Integration | `*-integration.test.ts` | Same directory          |
| Round-trip  | `round-trip/*.test.ts`  | `src/tests/round-trip/` |
| E2E         | `*.spec.ts`             | `e2e/` (frontend only)  |

## Usage

1. Set project root:

   ```
   mcp__vitest__set_project_root({ path: "<project-path>" })
   ```

2. Run tests:

   ```
   mcp__vitest__run_tests({ target: "<file-or-dir>" })
   ```

3. List available tests:
   ```
   mcp__vitest__list_tests({ path: "<optional-dir>" })
   ```

## Example

```
/test packages/core/src/adapters/fit
```

---
> Converted and distributed by [TomeVault](https://tomevault.io/claim/pablo-albaladejo) — claim your Tome and manage your conversions.
<!-- tomevault:4.0:skill_md:2026-04-13 -->

