Question

xUnit offers so many appealing features comparing to NUnit but its GUI runner is so poor that it's pain to use it: no tree visualization, theory tests are represented by a single list entry, no remembering last test run, etc. For long time I hoped 2.0 will solve it but it's still in alpha :( I'm on VS 2010 so cannot try new test explorer of VS 2012 and looking for alternatives. So what do you use to run xUnit tests?

Was it helpful?

Solution

Go to 2012/2013/2015. Fight if necessary. Its Just so much faster and the xUnit runner is perfect (come quibbles on UX but bulletproof). The CodeRush runner support is getting there but put the money towards a VS update.

Also have a look on the forum - they're ruling out a 2.0 GUI runner as part of the core offering.

Bottom line is GUI users should and do stop using the GUI if they use VS and try the plugin.

OTHER TIPS

I use ReSharper to run my unit tests. It has a plugin that allows it to run xUnit tests as well.

The only problem with ReSharper is that it is a commercial product, but it is well worth the money!

With VS2010 - You can try this but there are limitations as mentioned in my comments

http://xunit.codeplex.com/workitem/5648

Few limitations with this extension, but it covers the immediate needs. I personally like it. xUnit devs use third party runners such as TestDriven.NET / R# to run tests within VS. But if xUnit has an integrated VS2010 runner, then lot of developers will start using xUnit. Which also mean better Unit Tests.

We use Gallio Icarus. It has a tree view and you can select the test report format. If you are still using VS2010 then it will work for you.

Unfortunately, it doesn’t work with the latest VS2015 framework. That’s why I’m on this post looking for alternatives

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top