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

dennisdoomen / mockly / 26691510749
85%

Build:
DEFAULT BRANCH: main
Ran 30 May 2026 06:29PM UTC
Jobs 1
Files 13
Run time 1min
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

30 May 2026 06:25PM UTC coverage: 84.624% (+0.2%) from 84.472%
26691510749

push

github

web-flow
Add response header configuration (#131)

* Add response header configuration (closes #113)

Add WithHeader(name, value) and WithHeader(name, params string[]) to RequestMockResponseBuilder. The mock's Responder is wrapped so configured headers are applied to every response. Content headers are routed to the response content headers, others to the response headers, using TryAddWithoutValidation. Includes XML docs, tests, updated approved API and docs.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Scope empty-content null check to net472 to satisfy nullable analysis

On net8.0 HttpResponseMessage.Content is non-null by default, so the null-coalescing left operand is never null and InspectCode flags it. The check is only needed on net472 where Content defaults to null.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

311 of 447 branches covered (69.57%)

Branch coverage included in aggregate %.

44 of 48 new or added lines in 1 file covered. (91.67%)

1186 of 1322 relevant lines covered (89.71%)

283.12 hits per line

Uncovered Changes

Lines Coverage ∆ File
4
92.31
-7.69% Mockly/RequestMockResponseBuilder.cs
Jobs
ID Job ID Ran Files Coverage
1 26691510749.1 30 May 2026 06:29PM UTC 13
84.62
GitHub Action Run
Source Files on build 26691510749
  • Tree
  • List 13
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #26691510749
  • 0a785e41 on github
  • Prev Build on main (#26688461225)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc