Refs #159: migrate TaskScheduler.Integration.Tests to MSTest assertions (Phase 7)#177
Conversation
…assertions Replace all 8 FluentAssertions .Should() sites across 3 files (NodeDiscovery, EndToEndScheduling, ConcurrencyRegression) with MSTest assertions, preserving each FA because-message as the MSTest message arg. Remove FluentAssertions PackageReference. Directory.Packages.props untouched (Phase 8). Refs #159 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (4)
💤 Files with no reviewable changes (1)
📝 WalkthroughWalkthroughFluentAssertions is removed from the TaskScheduling.Distributed.TaskScheduler integration test project. Its NuGet package reference is dropped, and ChangesFluentAssertions to MSTest Migration
Estimated code review effort: 1 (Trivial) | ~5 minutes Possibly related issues
Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #177 +/- ##
==========================================
+ Coverage 87.32% 87.45% +0.12%
==========================================
Files 1024 1024
Lines 33905 33905
Branches 2870 2870
==========================================
+ Hits 29609 29652 +43
+ Misses 3407 3374 -33
+ Partials 889 879 -10 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|



Migrates
DotNetWorkQueue.TaskScheduling.Distributed.TaskScheduler.Integration.Testsoff FluentAssertions to built-in MSTest assertions. Part of #159. Test-only — no production assemblies, no version bump.Scope
.Should()sites (NodeDiscoveryTests,EndToEndSchedulingTests,ConcurrencyRegressionTests) →Assert.*.becausemessage preserved as the MSTestmessageargument (Assert.IsTrue(x, msg),IsNotNull(x, msg),AreEqual(e, a, msg)).PackageReference. NoTests.Sharedreference needed (no non-1:1 patterns).Source/Directory.Packages.propsuntouched (final cleanup is a later PR).Verification
TreatWarningsAsErrors): 0 warnings / 0 errors.FluentAssertions/using FluentAssertions/.Should().dotnet test: 4/4 passed (net10.0). Also validated on the dedicated Jenkins TaskScheduler stage.🤖 Generated with Claude Code
Summary by CodeRabbit
Tests
Chores