codeformatter icon indicating copy to clipboard operation
codeformatter copied to clipboard

xUnit converter doesn't work for me

Open SuperJMN opened this issue 8 years ago • 1 comments

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!

SuperJMN avatar Nov 22 '16 23:11 SuperJMN

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.

tiesmaster avatar Nov 23 '16 10:11 tiesmaster