Visual Studio Test Professional 2010: Organization of Artifacts – Part 2

Posted by: Subodh Sohoni , on 3/10/2010, in Category Visual Studio
Views: 69334
Abstract: In the earlier articles, we studied some of the artifacts that are required for planning the testing for a project. In this article we will study the remaining artifact types.
Visual Studio Test Professional 2010: Organization of Artifacts – Part 2
 
In the earlier articles (Visual Studio Test Professional (VSTS) 2010: Organization of artifacts) we studied some of the artifacts that are required for planning the testing for a project. In this article we will study the remaining artifact types. We have taken an overview of test case as a workitem and have also begun our study of Test Plan as container for artifacts. Test Settings is an important artifact that we studied. We now will view details of Test Configuration, Build Assignment, Shared Steps and Links
Test Configuration: Test Plan is a container for various tests to be carried out under certain conditions and to collect set of data while test is running. It provides a direction to testers to do testing with certain constraints. One of the constraints is Test Configuration.
Test configuration provides the conditions of various machines, their operating systems and other software that needs to be setup and used for the application that is under test to run.
TestConfigurationManager_1
For example if we have created a web application then we want that it should be able to run
-          On different combinations of operating systems like Windows XP, Windows Vista and Windows 7
-          With versions of Internet Explorer like 6.0, 7.0 and 8.0
-          With FireFox 3.0 and 4.0
-          On 32 bit and 64 bit processors of Intel and AMD.
All the three (OS, Browser and Processor) of these are configuration variables.
TestConfigurationManager
Combination of these variables defines a configuration under which the application is to be tested. For a test plan multiple such combinations aka. Test Configurations are defined. At any time, one or more Test Configurations is used as a default.
AutomatedRuns
Tester selects a Test Plan and automatically default configuration is chosen. If multiple configurations are chosen as default all of them will get selected.
In this version of Microsoft Test Manager, tester is not forced to use the physical configuration on the machines in the environment which match the Test Configuration that is assigned to the Test Plan. In the subsequent versions this compulsion may get built in.
Build Assignment: Team consisting of developers and testers is supposed to use same assemblies for development, testing and bug fixing. To build this consistency in the test plan, MTM provides assignment of Build Number to the Test Plan.
Assignbuild_1
Test Planner may chose either the latest build or any other previous build to be assigned initially to test plan. Once the build is assigned to the test plan, it becomes the ‘Build in use’. It can be changed for higher builds only, when they are available.
Assignbuild 
Like Test Configuration, there is no compulsion on the tester to use the same build that is assigned to the test plan.
Shared Steps: In the last article (Visual Studio Test Professional (VSTS) 2010: Organization of artifacts), we had studied how to create test cases (workitems). A test case contains number of steps. These steps contain actions to be performed by the tester and expected result against each action. Some of the steps may be common. For example, a user is forced to login for any other feature to be accessed and the steps that user takes for login, are common for all the test cases that test the number of such features. These common steps can be stored as a Shared Steps workitem type.
Steps
It becomes reusable component since it can be embedded in number of test cases. This can give a productivity improvement to test case designers.
InsertsharedTips
Links to Test Plan: A test plan may contain any number of links to external URLs. This can provide references to some documents or images as is necessary for providing a complete context to the test plan.
In this article we have completed an overview of various artifacts that are necessary to do the Test Planning. Test plan becomes a set of named properties that uniquely define the context of testing. It also contains the collection of test cases that satisfy certain logic. Those collections are called Test Suites and in the next article we will inspect the concept of test suite in detail.

If you liked the article,  Subscribe to the RSS Feed or Subscribe Via Email

Subodh Sohoni is a VSTS MVP, MCTS - Microsoft Team Foundation Server - Configuration and Development and also is a Microsoft Certified Trainer(MCT) since 2004.   

This article has been editorially reviewed by Suprotim Agarwal.

Absolutely Awesome Book on C# and .NET

C# and .NET have been around for a very long time, but their constant growth means there’s always more to learn.

We at DotNetCurry are very excited to announce the The Absolutely Awesome Book on C# and .NET. This is a 500 pages concise technical eBook available in PDF, ePub (iPad), and Mobi (Kindle).

Organized around concepts, this eBook aims to provide a concise, yet solid foundation in C# and .NET, covering C# 6.0, C# 7.0 and .NET Core, with chapters on .NET Standard and the upcoming C# 8.0 too. Use these concepts to deepen your existing knowledge of C# and .NET, to have a solid grasp of the latest in C# and .NET OR to crack your next .NET Interview.

Click here to Explore the Table of Contents or Download Sample Chapters!

What Others Are Reading!
Was this article worth reading? Share it with fellow developers too. Thanks!
Share on LinkedIn
Share on Google+

Author
Subodh is a consultant and corporate trainer. He has overall 28+ years of experience. His specialization is Application Lifecycle Management and Team Foundation Server. He is Microsoft MVP – VS ALM, MCSD – ALM and MCT. He has conducted more than 300 corporate trainings and consulting assignments. He is also a Professional SCRUM Master. He guides teams to become Agile and implement SCRUM. Subodh is authorized by Microsoft to do ALM Assessments on behalf of Microsoft. Follow him on twitter @subodhsohoni


Page copy protected against web site content infringement 	by Copyscape




Feedback - Leave us some adulation, criticism and everything in between!
Comment posted by vsHunk on Tuesday, March 16, 2010 1:11 AM
Thanks. Are there any improvements for performance related testing in 2010?
Comment posted by Subodh Sohoni on Wednesday, March 17, 2010 7:42 AM
Your question makes an assumption that the "Performance Testing Tools of Microsoft need improvement!" ;-). No there are no changes in load testing tools in Visual Studio Test Professional 2010.
Comment posted by Mohamed saeed on Saturday, June 12, 2010 6:25 PM
please i need help in finding number of a microsoft visual sudio test called:devoping and implementing windows based applications WITH MICROSOFT VISUAL BASIC.NET THANKS

Categories

JOIN OUR COMMUNITY

POPULAR ARTICLES

C# .NET BOOK

C# Book for Building Concepts and Interviews

Tags

JQUERY COOKBOOK

jQuery CookBook