codeformatter
codeformatter copied to clipboard
xUnit converter doesn't work for me
I've used the tool over a .csproj project and nothing happened. I haven't found any documentation about how to use it. Could you please upload a mini how-to to teach us?
Thanks!
Probably you're missing the MSTestNamespaces.txt
file in the output directory, 6eb6cc3 in PR #233 fixed that for me, but unfortunately that PR has not been merged yet :(
When I ran the converter without that patch, I think got warnings in the console, and that patch made it go away. Try that first.
Next, if your codebase contains TestInitialize
, and TestCleanup
attributes, then you might be interested in my dev branch where I've added support to convert those to the appropriate xUnit equivalents. It's here.