views:

32

answers:

2

Hi,

I'm currently using MSTest in VS2008 for unit tests, but I am looking at going to xUnit.net.

Question - What would be the easiest way to get my unit tests running continually locally (on my PC) and with some sort of visual alert of pass / # of fails.

i.e. similar to what we do in Ruby on Rails with autospec.

THanks

PS Intersested in hearing of the simplest open source option too.

A: 

Resharper's test runner runs within VS, can run just a single test or a whole suite, and appears to support xUnit with a plugin.

Joseph Anderson
In this casewould you recommend sticking with MSTest, ie if going with resharper?
Greg
can't see a way in Reshaper to do what my question here poses
Greg
A: 

You should also ask this on http://xunit.codeplex.com/Thread/List.aspx

There's an xUnit GUI runner and it has an auto-reload when DLLs get touched.

The missing bit is the auto-rerun of the last of executed tests when that happens. The minute we have that, you're just a Shift F6 (compile current project) away from waht you want.

The xunit.net guys are normally quite responsive, and avote on [my] http://xunit.codeplex.com/WorkItem/View.aspx?WorkItemId=8832 would help.

Regarding your other comment - I really believe xUnit.net is worth your effort using. You won't look back.

Ruben Bartelink
done - wait and see what the group says
Greg