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

dennisdoomen / fluentassertions.mockly / 35120030801
90%

Build:
DEFAULT BRANCH: main
Ran 16 Sep 2026 04:14PM UTC
Jobs 1
Files 1
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

16 Sep 2026 04:08PM UTC coverage: 88.466% (+0.5%) from 87.954%
35120030801

push

github

web-flow
Add ordering, count and timing assertions on RequestCollection (#97)

* Add ordering, count and timing assertions on RequestCollection

Implements the API proposal from #80:
- ContainRequestsInOrder(params string[]) / (params (HttpMethod, string)[]) asserts
  requests matching URL patterns occurred in the given order (subsequence match).
- ContainRequestsFor(urlPattern, OccurrenceConstraint) / (method, urlPattern, OccurrenceConstraint)
  asserts the number of matching requests using FluentAssertions' Exactly/AtLeast/AtMost/etc.
- AllHaveBeenSentWithin(TimeSpan) asserts all captured requests fall within a given time span
  of each other.

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

* Simplify a redundant index computation and exercise all overloads in tests

The failure message for the first missing request in ContainRequestsInOrder
computed the request number as a variable addition even though the branch
only ever runs when the index is zero, tripping a 'useless addition of 0'
code-scanning alert. Replace it with the literal request number.

Also add specs that call the array-plus-because overloads directly and
chain off the returned AndConstraint, so static analysis can see that the
overloads and their return values are genuinely used by consumers, matching
the existing HaveCalledInOrder pattern in this file.

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

---------

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

548 of 648 branches covered (84.57%)

Branch coverage included in aggregate %.

126 of 130 new or added lines in 1 file covered. (96.92%)

963 of 1060 relevant lines covered (90.85%)

24.79 hits per line

Uncovered Changes

Lines Coverage ∆ File
4
88.47
0.51% Shared/HttpMockAssertionExtensions.cs
Jobs
ID Job ID Ran Files Coverage
1 35120030801.1 16 Sep 2026 04:14PM UTC 1
88.47
GitHub Action Run
Source Files on build 35120030801
  • Tree
  • List 1
  • 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 #35120030801
  • 38218cc4 on github
  • Prev Build on main (#27869365626)
  • Next Build on main (#35146827176)
  • Delete
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