Conversation
'actual' and 'expected'/'notExpected' arguments have been swapped.
… argument to TestMethodAttribute
Remove the duplicate items or use the Update functionality to ensure a consistent restore behavior. The duplicate 'PackageReference' items are: Newtonsoft.Json , Newtonsoft.Json .
WalkthroughThis PR introduces parallel test execution at class level across multiple test assemblies via MSTest attributes, refactors test assertions to use more expressive methods, removes unused using directives, simplifies exception handling, and prunes unused NuGet dependencies from the ConsoleDataGenerator project. Changes
Sequence Diagram(s)Not applicable—these are predominantly test infrastructure and assertion refactorings without meaningful control-flow changes. Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes
Possibly related PRs
Poem
Pre-merge checks and finishing touches❌ Failed checks (1 inconclusive)
✅ Passed checks (2 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
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 |
|
I love your work @satano |
I do not like warnings, because I treat them as potential errors. :) So I fixed all warnings in the project, that could be fixed. Remaining warnings during build are now only those regarding mixing old and new .NET.
Fixed warnings
CS0168The variable 'ex' is declared but never usedMSTEST0001Explicitly enable or disable tests parallelization (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0001)MSTEST0017Assertion arguments should be passed in the correct order. 'actual' and 'expected'/'notExpected' arguments have been swapped.MSTEST0037Use proper asertion methods:MSTEST0044'DataTestMethod' is obsolete. Use 'TestMethod' instead.MSTEST0056Use the 'DisplayName' property instead of passing a string argument to TestMethodAttributeNU1504Duplicate 'PackageReference' items found. Remove the duplicate items or use the Update functionality to ensure a consistent restore behavior. The duplicate 'PackageReference' items are: Newtonsoft.Json , Newtonsoft.Json.Summary by CodeRabbit
Release Notes
Tests
Chores