About test tools for unit test

S

Shengtian Yang

Hi, all:

I want to choose a test tool for development.

It seems that NUnit is the most popular tool, but I found that Microsoft
Visual Studio also provide a built-in tool, so which is the better one?

Does it mean that built-in tools will have better integrated supports in
future?
 
N

Nicholas Paldino [.NET/C# MVP]

Well, it makes sense that the testing tools that Microsoft provides are
going to have better integration support, because the people writing the
testing tools work for the same company that writes the IDE that they will
be used in. This isn't to say one product is better than another, just
answering the integration question.

As to which one is better, well, you have to figure that one out based
on your needs (which you haven't mentioned).
 
J

Jon Skeet [C# MVP]

Shengtian Yang said:
I want to choose a test tool for development.

It seems that NUnit is the most popular tool, but I found that Microsoft
Visual Studio also provide a built-in tool, so which is the better one?

Does it mean that built-in tools will have better integrated supports in
future?

The MS tools are always likely to be well integrated, but there are
other integration options for NUnit - in particular, ReSharper and
TestDriven.NET. The unit testing part of ReSharper has a free version
too: UnitRun, http://www.jetbrains.com/unitrun/

Personally I've shied away from the MS version - using that means that
*everyone* using the code has to have a Team System edition of Visual
Studio in order to run the tests (or even fully load a solution
containing test projects). I use NUnit for my open source work, and
it's nice to only need to learn one framework :)

I believe that unit testing will be in the professional version of
Visual Studio 2008, which is very welcome - but 2 years too late IMO.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top