一键导入
xunit-v3-discovery
Fix xUnit v3 test projects that compile but show zero discovered tests under dotnet test.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Fix xUnit v3 test projects that compile but show zero discovered tests under dotnet test.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Add or extend MoreSpeakers Domain Result types with explicit factory methods and structured errors.
Apply Result<T>-based feedback patterns in Razor Pages and HTMX flows.
Use reflection-based tests to lock an API contract before the implementation lands.
Expert .NET 10 Full-Stack Developer skill. Use this when implementing new features, vertical slices, or modifying existing logic in the MoreSpeakers application. It covers Domain, Data (EF Core), Managers, and Web (Razor Pages + HTMX).
QA Automation Engineer skill. Use this to write or refactor unit tests. Ensures tests follow the project's xUnit, FluentAssertions, and Moq standards.
Database Architect skill. Use this when you need to modify the database schema, add tables, or seed data. This project uses RAW SQL SCRIPTS orchestrated by .NET Aspire, NOT Entity Framework Migrations.
| name | xunit-v3-discovery |
| description | Fix xUnit v3 test projects that compile but show zero discovered tests under dotnet test. |
| domain | testing |
| confidence | high |
| source | earned |
Use this when a .NET test project builds cleanly, but dotnet test reports that no tests are available.
dotnet test is the expected execution path, add xunit.runner.visualstudio to the test project.src\MoreSpeakers.Data.Tests\MoreSpeakers.Data.Tests.csproj needed xunit.runner.visualstudio before ExpertiseDataStoreResultTests would run.