Skip to content

Conversation

jairbubbles
Copy link
Contributor

@jairbubbles jairbubbles commented Dec 4, 2023

After applying code fixes to transform XUnit asserts to fluent assertions I got some compilation errors. Some parenthesis were missing when the expression tested was complex.

Note: The tests were not properly testing the code source after the code fix is applied, I re-enabled it but some tests were failing so I added a '#if TO_BE_FIXED

@Meir017 Meir017 merged commit 104442f into fluentassertions:main Dec 8, 2023
@Meir017
Copy link
Member

Meir017 commented Dec 8, 2023

@jairbubbles Thank you for your contribution! version 0.27.0 is released with your changes!

@jairbubbles
Copy link
Contributor Author

Thanks, for your information I stumbled on https://github.com/meziantou/Meziantou.FluentAssertionsAnalyzers which also supports NUnit test migration.

Also, one cool thing is that the code fixes are already reported on a same ID so it's easier to fix all at once:

dotnet format analyzers --diagnostics MFA003

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants