在 Manus 中运行任何 Skill
一键导入
一键导入
一键在 Manus 中运行任何 Skill
开始使用test
星标3
分支0
更新时间2026年1月7日 00:52
Run all tests (frontend and backend)
安装
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
SKILL.md
readonly菜单
Run all tests (frontend and backend)
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | test |
| description | Run all tests (frontend and backend) |
Runs the complete test suite for both frontend (Vitest) and backend (Cargo).
pnpm test:run
cd src-tauri && cargo test
*.test.ts, *.spec.ts@testing-library/react for component testssrc-tauri/src/ modules=== Frontend Tests ===
✓ src/lib/loro/object-store.test.ts (12 tests)
✓ src/hooks/useInbox.test.ts (5 tests)
✓ src/lib/templates/template-engine.test.ts (8 tests)
Test Files: 3 passed
Tests: 25 passed
Duration: 2.3s
=== Backend Tests ===
running 8 tests
test crypto::tests::test_key_derivation ... ok
test crypto::tests::test_encryption ... ok
test network::tests::test_discovery ... ok
...
test result: ok. 8 passed; 0 failed
=== Summary ===
✓ Frontend: 25 tests passed
✓ Backend: 8 tests passed
For more granular testing:
pnpm test -- src/path/to/test.ts # Specific frontend test
cd src-tauri && cargo test test_name # Specific Rust test
Generate a new React component with Mantine styling
Update documentation after implementing features or making changes
Run a quick architecture review via architect-reviewer agent
Generate mobile-specific React components with platform detection and safe areas
Run a quick security audit on recent changes or specific files
Generate a test file for a component, hook, or utility