Module Test Runner
Run tests for a specific SwarmLLM module. The user specified: $ARGUMENTS
Working directory: .
Instructions
Determine the test target from the argument:
- Module name like
network,inference,credit,api→ runcargo test $ARGUMENTS - File path → determine the module and run targeted tests
integration→ runcargo test --test integration -- --test-threads=1all→ runcargo test
- Module name like
Run the tests
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