Sign In
Estoy Programando
Cuando Programar es Crear y hace falta Diseñar
Options
Blog Home
Email Blog Author
Share this
RSS for posts
Atom
RSS for comments
Search Blogs
Advanced search options...
Search In:
Everything
Blogs
Forums
People
Groups
Places
Pages
Date range:
All Time
Last Year
Last 6 Months
Last 3 Months
Last Month
Last Week
Last Two Days
Tags
Agile
alm
builds
cod
Code
code tools
DevTools
events
IT
load tests results
OOPSLA
Pages
pdc
projects
rido
TechEd
Terra
testing
Tips
TODO List
tools
tools sharepoint
trx2html
visual studio
Web
Archive
Archives
January 2012
(1)
November 2011
(2)
October 2011
(1)
May 2011
(5)
March 2011
(1)
January 2011
(2)
October 2010
(1)
August 2010
(1)
July 2010
(1)
May 2010
(2)
April 2010
(6)
March 2010
(1)
February 2010
(1)
December 2009
(1)
November 2009
(2)
October 2009
(3)
September 2009
(1)
August 2009
(2)
May 2009
(1)
January 2009
(1)
October 2008
(2)
September 2008
(2)
May 2008
(1)
February 2008
(2)
September 2007
(1)
June 2007
(2)
May 2007
(1)
November 2006
(3)
October 2006
(7)
September 2006
(2)
August 2006
(4)
June 2006
(2)
May 2006
(3)
February 2006
(1)
December 2005
(1)
November 2005
(4)
October 2005
(6)
September 2005
(5)
August 2005
(1)
July 2005
(5)
June 2005
(8)
May 2005
(8)
February 2005
(6)
January 2005
(2)
November 2004
(8)
October 2004
(21)
September 2004
(2)
August 2004
(3)
July 2004
(9)
June 2004
(7)
May 2004
(2)
April 2004
(1)
March 2004
(5)
February 2004
(9)
January 2004
(2)
NUnit vs VSTS
MSDN Blogs
>
Estoy Programando
>
NUnit vs VSTS
NUnit vs VSTS
Rido
30 Oct 2005 12:52 PM
Comments
2
One of the most popular open source application for .Net developers is NUnit.
With the next release of VS2005 and VSTS, the new IDE has integrated unit test support, with a lot of new functionality over NUnit.
However there are some basic features that VSTS does not implement.
1) Assert.AreEqual (string expected, string actual) does not inform at which char differs
More than 80% of unit tests involve some kind of string comparison, when the strings defer NUnit told you the first different char in the string. However VSTS just say: "Strings defer". Suppose you are comparing a big string (more that 10000chars). How should I discover the differences?
I thought this "simple" feature will be added to final version. Sadly I've read today this will be postponed to V2
http://lab.msdn.microsoft.com/productfeedback/viewfeedback.aspx?feedbackid=4f45f51d-4228-4a48-b027-584fbc280e5f
If you think this way don't forget to vote for this suggestion
(Bug opened by ragc
http://blogs.clearscreen.com/ragc/archive/2005/08/25/2394.aspx
)
2) Organize tests in a hierarchy
The most natural way to organize your test suite is based in a simple schema, a tree based on Namespace/Namespace/TestClass/TestMethod.
VSTS will offer a lot of new ways to define hierarchies to organize your tests, but you will have to spend some time organizing, because the default view is a flat view of all the test methods.
This feature will also be postponed for next version:
http://lab.msdn.microsoft.com/productfeedback/viewfeedback.aspx?feedbackid=d4b0397b-1fdb-4954-af24-20b5461157a3
3) TestResults View
When you have a big test suite, say more than 300 tests, you need a quick view of the results.
NUnit bubble exceptions and failures to the parent node (Namespace) so it is very easy to find namepsaces (family of tests) with broken test results.
With VSTS we have two problems, first of all we don't have a TestResults view with a comprehensive summary of the test suite run. The second is the mechanism to inspect test results, you have to open a new VS sub-window to read every failure (unsable when you want to know what's going on when a small number of tests have failed)
Summary
I would like to start using VSTS as soon as possible, however I think this three features are a MUST HAVE, so I would like to know if you have better workarounds than those described in the MS-ProdFeedbackCenter.
Or maybe you know some AddIns, or VS PowerToys to avoid the lack of usability of VS UnitTesting V1.
2 Comments
DevTools
,
Agile
,
Code
Comments
Loading...
Leave a Comment
Name
Comment
Please add 5 and 3 and type the answer here:
Post