Microsoft Visual Studio is the most popular rapid application development (RAD) tool used not just develop web and windows applications, but we can do development of
Web and Windows Services
Share point applications
Cloud application etc
Visual Studio support many languages ranging from C++ to C#, VB.Net, Jscript, F# etc
But, in this post and all upcoming posts, we are going to discuss about Testing features in Visual Studio.
Testing with Visual Studio
So does Visual Studio testing is all new features? Or Does testing is something very specific to developers?
Well, the answer is NO
Visual Studio testing started way back from Visual Studio 2008 Edition (should be before that too, but I started to learn from 2008), but it didn’t had much of the features like Coded UI, Ordered test etc which current version of Visual Studio has. And Visual Studio testing feature is very not inclined towards developers, even though it has many testing features for developer as well.
Different Types of Testing in Visual Studio
Visual Studio has different types of testing feature, which was introduced from Visual Studio 2010 Ultimate Edition. Based on Visual Studio editions, the testing features included in the package changes.
The different types of testing in Visual Studio are
Coded UI Testing
Manual Testing via MTM
Web Load Testing
Note that, only Visual Studio Ultimate Edition has Coded UI testing feature.
Testing types detailed
Coded UI Testing
Automated tests that drive your application through its user interface (UI) are known as coded UI tests (CUITs). These tests include functional testing of the UI controls. They let you verify that the whole application, including its user interface, is functioning correctly. Coded UI Tests are particularly useful where there is validation or other logic in the user interface, for example in a web page. They are also frequently used to automate an existing manual test.
Using MTM which is nothing but Microsoft Test Manager, one can do manual testing of application by creating
Report Bug (STLC)
Ordered test is used in conjunction with Coded UI Test or Unit Test, to hold all the different test methods to execute in specific orders. These become very useful while running a large set of similar kind of test in specific order.
Unit testing feature is commonly used by developers, were developers write methods to test their own methods for their expected behavior.
Web Performance Testing
Web testing option is used to simulate the user action performed by a user in the web application. This will store all the HTTP GET/POST requests of the web application. This can then be used in conjunction with load testing of the same application via virtual users as if a real user is performing the operation.
Load testing option is used to load test the application via multiple virtual users. Load Testing not only load tests web application, but also load tests Web services as well.
System Requirement of Visual Studio Testing
As mentioned earlier, based on the Edition of Visual Studio, the testing types availability will change. But the most superior edition of all the edition is Ultimate Edition.
Hence the system requirement is
OS : Windows 7 and above
Visual Studio 2010 Ultimate and above
SQL Express 2008 or above
Thanks for watching and reading this post.