You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running this analyzer on the codebase at https://github.com/SteeltoeOSS/Steeltoe, the fixers produce code that doesn't compile in several cases. After fixing them manually, various tests start to fail.
Set all analyzer rules of this package to Warning severity in Steeltoe.Debug.ruleset: Open src/Steeltoe.All in Visual Studio, expand the Dependencies/Analyzers/FluentAssertions.Analyzers node in project Common/Steeltoe.Common.Expression.Test, select all rules, and right-click > Set severity > Warning.
Rebuild the Steeltoe.Common.Expression.Test project and use the fixers to update existing Xunit tests to FluentAssertions.
Expected behavior:
No broken code and no failing tests.
Actual behavior:
Some fixers don't actually change code; others produce code that doesn't compile. Some result in test failures.
Versions
Which version of Fluent Assertions Analyzers are you using? v0.21.0 with FA v6.8.0
Which .NET runtime and version are you targeting? .NET 6
Additional Information
I only tried running on the Steeltoe.Common.Expression.Test project. Running on the complete solution may surface additional issues.
The text was updated successfully, but these errors were encountered:
I don't know, haven't tried since. However, it should be easy to determine by checking out a commit from around that time. For example SteeltoeOSS/Steeltoe@326c0fd.
Description
When running this analyzer on the codebase at https://github.com/SteeltoeOSS/Steeltoe, the fixers produce code that doesn't compile in several cases. After fixing them manually, various tests start to fail.
Complete minimal example reproducing the issue
/shared-test.props
:Steeltoe.Debug.ruleset
: Opensrc/Steeltoe.All
in Visual Studio, expand the Dependencies/Analyzers/FluentAssertions.Analyzers node in project Common/Steeltoe.Common.Expression.Test, select all rules, and right-click > Set severity > Warning.Expected behavior:
No broken code and no failing tests.
Actual behavior:
Some fixers don't actually change code; others produce code that doesn't compile. Some result in test failures.
Versions
Additional Information
I only tried running on the Steeltoe.Common.Expression.Test project. Running on the complete solution may surface additional issues.
The text was updated successfully, but these errors were encountered: