Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

- `Example.slnx` — XML-based solution referencing the `src/` and `tests/` projects.
- `src/Example/` — the library project (`Example.csproj`) with `ExampleClass.cs` and `FeatureFlags.cs` (the OpenFeature feature-flag scaffold; see *Feature flags*).
- `tests/Example.Tests/` — xUnit test project (`Example.Tests.csproj`, `ExampleClassTests.cs`) using `Microsoft.NET.Test.Sdk`, `coverlet.collector`, and `xunit.runner.visualstudio`.
- `tests/Example.Tests/` — xUnit v3 test project (`Example.Tests.csproj`, `ExampleClassTests.cs`). It runs on Microsoft.Testing.Platform: xUnit v3 4.x needs that runner on the .NET 10 SDK, and `global.json` opts in with `"test": { "runner": "Microsoft.Testing.Platform" }`. It references `Microsoft.Testing.Extensions.CodeCoverage`, so the shared `run-dotnet-tests` workflow collects Cobertura coverage.
- `AGENTS.md` — the canonical, cross-tool project instructions.
- `CLAUDE.md` / `GEMINI.md` — exact one-line `@AGENTS.md` shims; never copy guidance into them.
- `.editorconfig` — formatting and analyzer rules enforced at build.
Expand Down
3 changes: 3 additions & 0 deletions global.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,8 @@
"sdk": {
"version": "10.0.300",
"rollForward": "latestFeature"
},
"test": {
"runner": "Microsoft.Testing.Platform"
}
}
1 change: 1 addition & 0 deletions tests/Example.Tests/Example.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
<ItemGroup>
<PackageReference Include="coverlet.collector" Version="10.0.1" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.9.0" />
<PackageReference Include="Microsoft.Testing.Extensions.CodeCoverage" Version="18.11.2" />
Comment thread
coderabbitai[bot] marked this conversation as resolved.
<PackageReference Include="xunit.v3" Version="4.0.0" />
<PackageReference Include="xunit.runner.visualstudio" Version="4.0.0" />
</ItemGroup>
Expand Down
Loading