Create new account I forgot my password    

Visual Studio Test Professional 2010: Organization of artifacts
Rating: 7 user(s) have rated this article Average rating: 5.0
Posted by: Subodh Sohoni, on 3/6/2010, in category "VSTS"
Views: this article has been read 22093 times
Abstract: In this article, we will explore Test Plan and Test Run Settings in VSTS 2010 as different artifacts that are used to define the testing efforts.

Visual Studio Test Professional 2010: Organization of artifacts
 
Management of testing efforts involves planning the execution of tests, tracking the test execution and then controlling the testing efforts so that either they are according to plan or the plan is modified to suite reality of environment. Before we can plan the testing efforts, it is necessary to have artifacts which are used as building blocks for the plan. One of the major artifacts is test cases. In the earlier article we have studied the definition of test case as workitem type. In this article we will view the details of other artifacts and also the way to create them using the ‘Organize’ section of Microsoft Test Manager 2010.
Organize section of MTM has four subsections to manage Test Plan, Test Configuration, Test Cases and Shared Steps.



TestingCenter
Test Plan
It is an artifact which works as a container for number of other artifacts like test cases, configuration etc. It is possible to create multiple test plans for a team project. Each of the test plans may reflect different conditions encountered for test planning. My suggestion is to keep the number of test plans in a team project to minimum and only one if possible.
Test plan has properties that define the testing conditions. Some properties are general properties like name, description, owner, state, start date, end date, area path and iteration. The owner is the person who is overall responsible for execution of plan. Start date and end date do not affect the state of the test plan. State values are either active or inactive. When the state is set to inactive, the test plan cannot be viewed or edited through the Plan view of MTM 2010.
SaveandClose
Test Plan has a section for providing Run Settings. That is further split into three parts. These parts manage Test Settings, Test Environment and Test Configuration.
Test Settings: These are collection of properties that are assigned to test plan. It gives a direction to tester to do manual testing or an automated testing, use specific role and matching environment that may be virtual or physical and to use specified diagnostic data adaptors to collect diagnostic data during test execution. We can provide separate test settings for manual test runs and automated test runs. Although Default Settings are provided, we can override those by providing a named collection of settings which are customized.
TestPlan4
Diagnostic Data Adaptors: These adaptors collect data during the execution of test. Data collected and recorded by them is part of the evidence for the test and if necessary a bug. It can throw light upon the facts of the application execution and provide clarity to developers while doing bug fixing. There are various such adaptors that collect data of different aspect of the application execution while testing. Following is a table of details.
Adaptor Name
Collected Data
Configuration Settings
Default
Action Log and Action Recording
Every gesture like mouse clicks, button presses executed by tester
Application to record, Recording type, User response delay in recording
Enabled
IntelliTrace Diagnostic Data Adaopter
Diagnostic trace for debugging managed applications. For ASP.NET application use remote with environment
Events to collect data at, collect data from IIS server, Modules to trace, Processes to trace, Max. amount of disk space for storing data
Enabled
EventLog
Event related logged data
Event Logs to collect data from, Event types, Max. Number entries to log, to collect or not the events raised during other tests
Enabled
Network Emulation
Emulate network of lower bandwidth which is expected during test although physically higher bandwidth exists
Profile of network (LAN/ Cable / Dialup etc.)
Enabled
Test Impact
Tests to run after code changes
Modules to consider, Processes to collect data
Not Enabled
Video Recording
Screen capture while test is running
Max. time to record screen for during test
Not Enabled
 
 
 
 
 
Step
These diagnostic data adopters take space on hard disk to store data and other resources while collecting the data. This can slow down the computer where we are running the tests. While enabling these adopters consideration should be given to this fact and then if necessary only the data should be collected. If we are running any exploratory testing then al the data adopters can be disabled and when running the targeted test only some of them should be enabled. If we encounter a bug which is hard to visualize as well as reproduce, then we should enable more number of diagnostic data adopters and run the test. We may have different named collections of test settings to achieve different combinations.
In this article we have seen Test Plan and Test Run Settings as different artifacts that are used to define the testing efforts. In the next article we will cover other artifacts like Test Configuration, Shared Steps etc.

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.   










Page copy protected against web site content infringement by Copyscape


How would you rate this article?

User Feedback

Post your comment
Name:  
E-mail: (Will not be displayed)
Comment:
Insert Cancel

NEWSLETTER