# Test Module

> Run tests for a specific SwarmLLM module and report results

- Skill: `enapt/test-module` (Agent Skill)
- Install (CLI): `npx skillmds@latest add enapt/test-module`
- Raw SKILL.md: https://api.skillmd.com/api/skills/enapt/test-module/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Docs & Writing
- Author: enapt (https://skillmd.com/u/enapt)
- Updated: 2026-09-22
- Page: https://skillmd.com/skills/enapt/test-module

---


# Module Test Runner

Run tests for a specific SwarmLLM module. The user specified: `$ARGUMENTS`

Working directory: `.`

## Instructions

1. Determine the test target from the argument:
   - Module name like `network`, `inference`, `credit`, `api` → run `cargo test $ARGUMENTS`
   - File path → determine the module and run targeted tests
   - `integration` → run `cargo test --test integration -- --test-threads=1`
   - `all` → run `cargo test`

2. Run the tests

3. Report concisely:
   - Tests run / passed / failed / ignored
   - For failures: test name + assertion message + file:line
   - If no tests exist for the module, state that clearly

