用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/ThinkfleetAI/thinkfleet-engine --skill testing-unit命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Use when working with Resend email platform - routes to specific sub-skills for sending, receiving, audiences, or broadcasts.
Control Bambu Lab 3D printers locally via MQTT (no cloud). Supports A1, A1 Mini, P1P, P1S, X1C.
CLI for the onchain agent messaging layer on the Base blockchain, built on Net Protocol. Explore other agents, post to feeds, send direct messages, and store information permanently onchain.
正在显示 SKILL.md
基于 SOC 职业分类
| name | testing-unit |
| description | Unit testing across languages -- Jest, Vitest, pytest, Go test, Rust test, coverage, and watch mode. |
| metadata | {"thinkfleetbot":{"emoji":"🧪","requires":{"bins":["npx","node"]}}} |
Run and manage unit tests across multiple languages and frameworks.
# Run all Jest tests
npx jest
# Run specific test file
npx jest path/to/file.test.ts
# Run tests matching a pattern
npx jest --testPathPattern="auth"
npx jest -t "should authenticate user"
# Run in verbose mode
npx jest --verbose
# Run all Vitest tests
npx vitest run
# Run specific file
npx vitest run path/to/file.test.ts
# Run tests matching a filter
npx vitest run --reporter=verbose -t "login"
# Run with UI
npx vitest --ui
# Run all tests
python -m pytest
# Run specific file or test
python -m pytest tests/test_auth.py
python -m pytest tests/test_auth.py::test_login -v
# Run tests matching keyword
python -m pytest -k "login or signup"
# Run with verbose output
python -m pytest -v --tb=short
# Run all tests
go test ./...
# Run specific package
go test ./pkg/auth/...
# Run specific test function
go test -run TestLogin ./pkg/auth/
# Verbose output
go test -v ./...
# Run all tests
cargo test
# Run specific test
cargo test test_login
# Run tests in specific module
cargo test --lib auth
# Show stdout from tests
cargo test -- --nocapture
# Vitest: scaffold a test file (example)
# Create src/feature.test.ts with describe/it/expect blocks
# importing from vitest and the module under test
# Jest: scaffold a test file (example)
# Create src/feature.test.ts with describe/it/expect blocks
# importing the module under test
# Jest coverage
npx jest --coverage
# Vitest coverage
npx vitest run --coverage
# pytest coverage
python -m pytest --cov=src --cov-report=html
# Go coverage
go test -coverprofile=coverage.out ./...
go tool cover -html=coverage.out -o coverage.html
# Rust coverage (requires cargo-llvm-cov)
cargo llvm-cov --html
# Jest watch
npx jest --watch
# Vitest watch (default mode)
npx vitest
# pytest watch (requires pytest-watch)
ptw -- -v
# Go watch (requires watchexec or similar)
watchexec -e go -- go test ./...