leobo96

Leo Convert Interaction Test — Testing skill for Claude Code

Testing community

Convert one test file from interaction assertions (toHaveBeenCalledWith) to result assertions.

How to install Leo Convert Interaction Test

Installs to ~/.claude/skills/leobo96-leo-agent-harness-leo-convert-interaction-test/SKILL.md

Terminal
mkdir -p ~/.claude/skills/leobo96-leo-agent-harness-leo-convert-interaction-test && curl -fsSL https://raw.githubusercontent.com/leobo96/leo-agent-harness/HEAD/commands/leo-convert-interaction-test.md -o ~/.claude/skills/leobo96-leo-agent-harness-leo-convert-interaction-test/SKILL.md

Restart Claude Code, or start a new session, for it to be picked up.

What Leo Convert Interaction Test does


description: Convert one test file from interaction assertions (toHaveBeenCalledWith) to result assertions argument-hint:

Convert this test file from interaction assertions to result assertions: $ARGUMENTS

This is mandatory for UI tests. In non-UI tests (backend, packages) a `toHaveBeenCalledWith` is acceptable when it makes sense: convert only where a natural result assertion exists, otherwise leave it.

  1. Read the test. Classify each toHaveBeenCalledWith:

Alternatives in Testing

  • Webapp Testing — Test local web applications using Playwright for UI verification and debugging 94.1k ★
  • #29 — #52, #103) 92.5k ★
  • /test Routing — Vérifie le routing de commandes RTK sans exécution (dry-run) 25.5k ★

Full documentation available on GitHub

View Source Repository