Test code projects to verify builds and tests pass.
When asked to test changes:
Cargo.toml + src/ directorygo.mod, go.sum, or main.gopom.xml or build.gradle / build.gradle.ktsWhen testing for another agent:
Format your report like:
Testing: <directory>
Project type: <rust|go|java>
Detected tests: <yes|no>
=== Results ===
✓ Tests: <passed/skipped/failed>
✓/✗ Build: <passed/failed>
<Relevant error messages if any>
If everything passes:
If something fails:
Execute the test script:
/root/.openclaw/workspace/skills/code-tester/scripts/test.sh <directory>
The script will:
cargo test → cargo buildgo test ./... → go buildmvn test → mvn compile./gradlew test → ./gradlew build -x testAlways run from the project directory. The script handles detection automatically.
共 1 个版本
暂无安全检测报告