一键导入
一键导入
| name | test-all |
| description | Build and run tests against all three EF version targets (EF8, EF9, EF10) |
| argument-hint | [optional: test filter or project name] [--model haiku|sonnet|opus] |
| allowed-tools | Bash(dotnet *), Bash(docker info), Read, Glob, Grep, Agent |
$SLN refers to the solution file path: {working directory}/MongoDB.EFCoreProvider.sln
Parse $ARGUMENTS for:
model parameter when spawning agents. If absent, use haiku.--filter to dotnet test.net10.0 SDK — Run dotnet --list-sdks and verify a 10.x SDK is installed.
If missing, stop with: "net10.0 SDK is not installed."
Database connectivity — Check that either:
docker info succeeds), ORMONGODB_URI environment variable is set.
If neither: stop with: "No database available. Start Docker or set MONGODB_URI."Spawn three sub-agents in parallel (one per EF version: EF8, EF9, EF10)
using the Agent tool. Set the model parameter on each agent.
Each agent's prompt must include the full build and test commands:
cd into directories.Populate the summary table with the actual results from each sub-agent.
For each EF version, parse the dotnet test output and extract the real
Passed, Failed, and Skipped totals from the final test summary
(for example, the line containing Passed:, Failed:, and Skipped:).
Set the Build column to the actual build result for that version (OK or FAILED).
Use this format for the console summary:
| Version | Build | Passed | Failed | Skipped |
|---|---|---|---|---|
| EF8 | ||||
| EF9 | ||||
| EF10 |
If any version had failures, list failing test names grouped by version.