Skip to content

Replace FluentAssertions with Shouldly in tests#417

Merged
ChrisPulman merged 3 commits intomainfrom
UseShouldly
Nov 16, 2025
Merged

Replace FluentAssertions with Shouldly in tests#417
ChrisPulman merged 3 commits intomainfrom
UseShouldly

Conversation

@ChrisPulman
Copy link
Member

What kind of change does this PR introduce?

Update

What is the current behavior?

Using FluentAssertions

What is the new behavior?

Switched test assertions in OperationQueueTests from FluentAssertions to Shouldly for improved readability and consistency. Updated package references and removed FluentAssertions in favor of Shouldly in both the project and central package management files.

What might this PR break?

None

Please check if the PR fulfills these requirements

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

Other information:

Switched test assertions in OperationQueueTests from FluentAssertions to Shouldly for improved readability and consistency. Updated package references and removed FluentAssertions in favor of Shouldly in both the project and central package management files.
Included the NUnit.Analyzers package in both central package management and the Punchclock.Tests project to enable static analysis for NUnit tests.
@codecov
Copy link

codecov bot commented Nov 16, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 62.08%. Comparing base (44b695c) to head (a854073).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #417   +/-   ##
=======================================
  Coverage   62.08%   62.08%           
=======================================
  Files           6        6           
  Lines         298      298           
  Branches       52       52           
=======================================
  Hits          185      185           
  Misses         99       99           
  Partials       14       14           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ChrisPulman ChrisPulman merged commit 5916042 into main Nov 16, 2025
6 checks passed
@ChrisPulman ChrisPulman deleted the UseShouldly branch November 16, 2025 23:06
@github-actions
Copy link

github-actions bot commented Dec 1, 2025

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 1, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant