ワンクリックで
test-runner
Execute test suite, parse results, capture failures, and provide comprehensive test report with metrics and diagnostics.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Execute test suite, parse results, capture failures, and provide comprehensive test report with metrics and diagnostics.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Create a comprehensive project structure overview: repo tree, folder usage, core components, and build/test commands.
Analyze project structure, identify build system, execute build, capture errors/warnings, and report results with logs and metadata.
Update project documentation, READMEs, and .gitignore files to reflect changes, build steps, test procedures, and ensure source code files are properly excluded from version control.
Create a comprehensive project structure overview: repo tree, folder usage, core components, and build/test commands.
| name | test-runner |
| description | Execute test suite, parse results, capture failures, and provide comprehensive test report with metrics and diagnostics. |
Systematically run the project's test suite, parse all output, capture pass/fail/skip counts, identify failing tests with diagnostics, and provide a comprehensive report with actionable next steps.
A structured test report containing:
Examine project structure for test setup:
.csproj files in test folders, [Test] or [Fact] attributes
CrossPlatformPatcher.Tests)appsettings.test.json, test Data foldersBased on detected test framework:
C# / dotnet (xUnit/NUnit/MSTest):
dotnet test <TestProject>.csproj -c Release --verbosity normal
# With detailed output:
dotnet test <TestProject>.csproj -c Release --logger "console;verbosity=detailed"
# With test filtering:
dotnet test <TestProject>.csproj -c Release --filter "FullyQualifiedName~TestClass"
Node.js / Jest:
npm test
# OR with coverage:
npm test -- --coverage
Python / pytest:
python -m pytest -v
# OR:
pytest tests/ -v --tb=short
Java / Maven:
mvn test
Run the test command and capture:
Parse output line-by-line to extract:
For each failed test, extract:
Group failures by:
Sample test output:
Starting test execution, please wait...
A total of 1 test files matched the specified pattern.
Passed AssemblyPatcherIntegrationTests.TestOpenWakeWordInjection [145 ms]
Failed AssemblyPatcherIntegrationTests.TestProcessStartRewriting [234 ms]
System.InvalidOperationException: Process.Start not found in patched IL
Test Run Summary:
Total tests: 2
Passed: 1
Failed: 1
Skipped: 0
Duration: 1.234s
Extract:
Based on test results:
If all tests pass:
Tests are healthy. Safe to commit.If tests fail:
Identify root causes: (list failure types)dotnet test <TestProject> --filter "FullyQualifiedName~FailingTestName" --logger "console;verbosity=detailed"
If integration tests timeout:
Report in this order:
Primary test command:
dotnet test CrossPlatformPatcher.Tests/CrossPlatformPatcher.Tests.csproj -c Release --verbosity normal
Key test classes to monitor:
AssemblyPatcherIntegrationTests — IL rewriting tests (heavy, ~5+ seconds)OpenWakeWordTests — Wake-word detection and Vosk integrationProgramCliTests — CLI argument parsing and launcher generationKnown considerations:
| Scenario | Command |
|---|---|
| Run all tests | dotnet test CrossPlatformPatcher.Tests/CrossPlatformPatcher.Tests.csproj -c Release |
| Run specific test | dotnet test CrossPlatformPatcher.Tests -c Release --filter "FullyQualifiedName~AssemblyPatcherIntegrationTests.TestOpenWakeWordInjection" |
| Run with verbose output | dotnet test CrossPlatformPatcher.Tests -c Release --logger "console;verbosity=detailed" |
| Run with XML report | dotnet test CrossPlatformPatcher.Tests -c Release --logger "trx;LogFileName=results.trx" |
| Run without capture (see Console.WriteLine) | dotnet test CrossPlatformPatcher.Tests -c Release --logger "console" --no-capture |