Skip to main content
Back to registry

testing

lobehub/lobehub

Installs430
Install command
npx skills add https://github.com/lobehub/lobehub --skill testing
Security audits
Gen Agent Trust HubPASS
SocketPASS
SnykPASS
About this skill
Commands: Never run bun run test - it runs all 3000+ tests (~10 minutes). See references/ for specific testing scenarios: When tests fail due to implementation changes (not bugs), evaluate before blindly fixing: - Prefer vi.spyOn over vi.mock - More targeted, easier to maintain - Tests must pass type check - Run bun run type-check after writing tests - After 1-2 failed fix attempts, stop and ask for help - Test behavior, not implementation details - Database Model testing : references/db-model-test.md - Electron IPC testing : references/electron-ipc-test.md - Zustand Store Action testing : references/zustand-store-action-test.md - Agent Runtime E2E testing : references/agent-runtime-e2e.md - Desktop Controller testing : references/desktop-controller-test.md - Behavior tests : Tests that verify what the code does (output, side effects, user-visible behavior). Just update mock data formats or expected values. - Example: Tool data structure changed from { name } to { function: { name } } → update mock data - Example: Output format changed from Current date: YYYY-MM-DD to Current date: YYYY-MM-DD (TZ) → update expected string - Param-forwarding tests : Tests that assert exact internal function call arguments (e.g., expect(internalFn).toHaveBeenCalledWith(expect.objectContaining({ exact params })) ) — these break on every refactor and duplicate what behavior tests already cover. -...

Source description provided by the upstream skill listing. Community reviews and install context appear in the sections below.

Community Reviews

Latest reviews

Sign in to review

No community reviews yet. Be the first to review.

Browse this skill in context
FAQ
What does testing do?

testing is listed in SkillJury, but the source summary is still sparse.

Is testing good?

testing does not have approved reviews yet, so SkillJury cannot publish a community verdict.

What agent does testing work with?

testing currently lists compatibility with codex, gemini-cli, opencode, cursor, github-copilot, claude-code.

What are alternatives to testing?

Skills in the same category include telegram-bot-builder, flutter-app-size, sharp-edges, iterative-retrieval.

How do I install testing?

npx skills add https://github.com/lobehub/lobehub --skill testing

Related skills

More from lobehub/lobehub

Related skills

Alternatives in Software Engineering