• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

AKlaus / DomainResult
87%

Build:
DEFAULT BRANCH: master
Repo Added 30 Aug 2020 11:38AM UTC
Files 24
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH master
branch: master
CHANGE BRANCH
x
Reset
  • master
  • feature/#101
  • feature/#102
  • feature/#105
  • feature/#108
  • feature/#110
  • feature/#118
  • feature/#118-mtp
  • feature/#71
  • feature/#75
  • feature/#76
  • feature/#79
  • feature/#81
  • feature/#83
  • feature/#86
  • feature/#86_
  • feature/#88
  • feature/#94
  • feature/#95
  • feature/#96
  • feature/#97
  • feature/#97-trusted-publishing
  • feature/#98
  • feature/agents-rules

22 Nov 2026 03:22AM UTC coverage: 86.547%. Remained the same
44980340935

push

github

web-flow
CI: Run tests on xUnit v3 and Testing Platform (#120)

### Why

`xunit` 2.9.3 is the last xUnit v2 release. xUnit v3 does not support `async void` tests, and the build already warns about them (`xUnit1048`). `xunit.v3` 4.x runs on Microsoft Testing Platform (MTP). With the .NET 10 SDK or later, `dotnet test` refuses an MTP project in VSTest mode. So the tests move to xUnit v3 and to the MTP mode of `dotnet test` together.

### What changed

- **xUnit v3** — `xunit.v3` 4.0.3 replaces `xunit`, `xunit.runner.visualstudio` and `Microsoft.NET.Test.Sdk`. The test project is an executable.
- **MTP mode** — `global.json` sets `Microsoft.Testing.Platform` as the `dotnet test` runner
- **Coverage** — `coverlet.MTP` replaces `coverlet.msbuild`, and `testconfig.json` names the two assemblies to measure
- **CI** — the `net11.0` step collects coverage with `--coverlet`, and Coveralls reads `TestResults/coverage/coverage.info`
- **Tests** — the two `async void` tests in `DomainResultThrowExceptionExtensionsTests` return `Task`
- **Contributor setup** — `dotnet test` needs the .NET 10 SDK or later, and an IDE test explorer needs MTP support

### Changes at a glance

| Change | Added | Changed | Removed |
|---|---|---|---|
| CI workflows |  | 1 |  |

**Areas**: `.github`, `tests`

**CI workflows**

- modified `.github/workflows/ci.yml`

**Not seen by `scope`**

- added `global.json`, with only the `test.runner` setting and no SDK pin
- added `tests/DomainResults.Tests/testconfig.json`
- test project: added `xunit.v3` 4.0.3 and `coverlet.MTP` 10.1.1; removed `xunit` 2.9.3, `xunit.runner.visualstudio` 4.0.1, `Microsoft.NET.Test.Sdk` 18.12.0 and `coverlet.msbuild` 10.1.1

<details><summary>Coverage notes</summary>

- The config file sets no attribute exclusions. The coverlet.MTP default list includes `CompilerGeneratedAttribute`, which drops auto-properties and all of `HttpCodeConvention.cs` from the report.
- With this config, the `net11.0` report is the same as the cov... (continued)

70 of 89 branches covered (78.65%)

Branch coverage included in aggregate %.

316 of 357 relevant lines covered (88.52%)

21.54 hits per line

Relevant lines Covered
Build:
Build:
357 RELEVANT LINES 316 COVERED LINES
21.54 HITS PER LINE
Source Files on master
  • Tree
  • List 22
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
44980340935 master CI: Run tests on xUnit v3 and Testing Platform (#120) ### Why `xunit` 2.9.3 is the last xUnit v2 release. xUnit v3 does not support `async void` tests, and the build already warns about them (`xUnit1048`). `xunit.v3` 4.x runs on Microsoft Testin... push 22 Nov 2026 03:23AM UTC web-flow github
86.55
44979753245 master CI: Update build, test and sample packages (#119) ### Why Two packages brought in dependencies with known vulnerabilities. `Microsoft.SourceLink.GitHub` 8.0.0 brought in `Microsoft.Build.Tasks.Git` 8.0.0 (moderate, GHSA-23fw-v26w-5fgq, no fixed ... push 22 Nov 2026 03:16AM UTC web-flow github
86.55
44881277376 master Mvc: Target .NET 11 and drop .NET 7 (#117) ### Why .NET 11 shipped on 10 November 2026, and .NET 7 reached end of support in May 2024. The `DomainResult` package still targeted `net7.0`, and `net7.0` pinned old versions of four build and test pa... push 21 Nov 2026 07:41AM UTC web-flow github
87.55
44874615559 master Mvc: Return typed results from ToResult() (#116) ### Why `ToResult()` and `ToCustomResult()` return `IResult`. The minimal API cannot read response metadata from `IResult`, so each endpoint needs `.Produces<T>()` for its success response. ### W... push 21 Nov 2026 06:15AM UTC web-flow github
87.55
44725752072 master CI: Validate packages against the previous release (#114) ### Why `AGENTS.md` marks a changed signature as **Breaking**, but no check finds one. A reviewer must spot it by eye. ### What changed - **Package validation** — on for both packages -... push 20 Nov 2026 11:14AM UTC web-flow github
87.5
44703673078 master CI: Publish to nuget.org with trusted publishing (#112) ### Why The release pushes with the long-lived `NUGET_API_KEY` secret. nuget.org trusted publishing replaces it with a short-lived key from GitHub OIDC. ### What changed - **Build job** —... push 20 Nov 2026 08:35AM UTC web-flow github
87.5
44698984411 master CI: Update actions and restrict workflow permissions (#111) ### Why The workflows use deprecated and unpinned actions, and each job gets the default token scope. CI uploads net7.0 coverage, although its comment says the coverage comes from the l... push 20 Nov 2026 08:00AM UTC web-flow github
87.5
44694652032 master Tests: Remove duplicate 4xx and errorAction test cases (#109) ### Why Some tests covered a branch or contract that another case already covers. **Testing** in `AGENTS.md` asks each case to cover something that no other case covers. ### What cha... push 20 Nov 2026 07:24AM UTC web-flow github
87.18
44691134033 master Tests: Remove duplicate rows from 200 OK theory (#106) ### Why `To_200_OkResult_DomainResult_Tests` ran the rows `10` and `"1"` twice, through `DomainResult<T>.Success` and through `DomainResult.Success`. The second method only forwards to the f... push 20 Nov 2026 06:55AM UTC web-flow github
87.18
44690077893 master Mvc: Build ProblemDetails with ProblemDetailsFactory (#107) ### Why The same status gave a different `ProblemDetails` body in the two conversions. The `IActionResult` conversion built a plain `ObjectResult`, so its body had no `type`. The `IResu... push 20 Nov 2026 06:46AM UTC web-flow github
87.18
See All Builds (230)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc