Welcome to the first post
in this series which will give an overview of the differences in Visual Studio
2012 (VS12) retrospect to Visual Studio 2010 (VS10). In this particular post,
we will cover the basic differences between VS2012 and VS2010 Test features,
mostly with respect to navigation, running the tests, results and some features
that have been deprecated in VS12. Let us now dive into this.
Test List Editor which is
very commonly used to run tests in VS10 is deprecated in VS12 and is replaced
by Test Explorer. Below screenshots show this difference with a red highlight.
Next question would
obviously be, how do I run my tests from Test Explorer and how will this be
different from VS2010. The experience of running the tests in VS12 is seemingly
different from VS10 for a first time user. When you select Test Explorer in
VS12 as shown in the above screen shot (Test – Windows – Test Explorer), it
will open the Test Explorer window and you will see ‘Run All’ or ‘Run’ option
to execute your tests as compared to ‘Run Checked Tests’ or ‘Debug Checked
Tests’ in VS10. Below screen shots will show this difference
In VS12 ‘checkbox’ option
is removed which means that if you want to select any particular tests to run,
you have to click ‘CTRL + Select’.
Now that we understand the
differences on how to run the tests in VS12, let us look at the features that
have changed in VS12 while the tests are in progress. Unlike, VS10 where the
progress of the test is shown with a distinct ‘In Progress’ icon, this icon is
replaced in VS12 with a simple status bar. We have highlighted the differences
in the below screenshots
No comments:
Post a Comment