Run tests
This skill should be used when the user asks to "run tests", "run-tests", "test the patcher", "run swift tests", "check tests", "run unit tests", or "verify tests pass".From its SKILL.md
npx -y skills add Soul-Craft/buddy-evolver --skill run-testsAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 2 stars2 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
2.4 KB, as published. Nobody here has run it
Run Tests — Swift Test Suite
Run the BuddyPatcher Swift unit tests and report results.
Steps
1. Run tests
cd "${CLAUDE_PLUGIN_ROOT}/scripts/BuddyPatcher" && swift test 2>&1
2. Parse and report results
Read the output and extract:
- Total tests run
- Tests passed
- Tests failed
- Time elapsed
3. Display formatted report
Test Suite Report — 178 tests across 12 files
══════════════════════════════════════════════
AnalyzeTests ✅ / ❌
ArgumentParsingTests ✅ / ❌
BackupRestoreTests ✅ / ❌
BinaryDiscoveryTests ✅ / ❌
ByteUtilsTests ✅ / ❌
MetadataTests ✅ / ❌
OrchestrationTests ✅ / ❌
PatchEngineTests ✅ / ❌
PatchLengthInvariantTests ✅ / ❌
RegressionTests ✅ / ❌
SoulPatcherTests ✅ / ❌
ValidationTests ✅ / ❌
VariableMapDetectionTests ✅ / ❌
Total: N tests, M passed, K failed (X.XXs)
Result: ALL PASS ✅ / FAILURES ❌
4. If failures
Show the specific test names and assertion messages that failed. Suggest checking the corresponding source files:
Analyze.swift— binary introspection (--analyze mode)ArgumentParsing.swift— CLI argument handlingBackupRestore.swift— backup/restore and SHA-256 verificationBinaryDiscovery.swift— binary path resolutionByteUtils.swift— byte pattern matchingMetadata.swift— patch metadata persistenceOrchestration.swift— patch pipeline coordinationPatchEngine.swift— binary patching functionsRegressionTests.swift— one test per previously-fixed bugSoulPatcher.swift— companion config updatesValidation.swift— input validation (emoji, name, personality, binary path)VariableMapDetection.swift— species variable maps
5. If build fails
If swift test fails during compilation (before running tests), report the build errors separately and suggest checking:
Package.swiftfor target configuration- Whether all source files are in the correct directories