Welcome to MSDN Blogs Sign in | Join | Help

Chris Patterson's Blog

Visual Studio Team System Test - North Carolina
Enabling Test Management on Upgraded Team Projects (Beta 2)

In Visual Studio Team System 2010 we are releasing a lot of new and exciting technology that should help improve your software development lifecycle. Unfortunately simply upgrading your server does not automatically give your existing project these new capabilities. Due to the differences in the process templates from VSTS 2008 to VSTS 2010 and the potential for customization by the end user all upgraded team project will require some manual intervention in order to work properly with all of the new functionality in the VSTS 2010 clients.

For a full overview of how to enable new features please see Enabling New Features of Visual Studio Team System 2010 Beta 2 in Upgraded Projects.

The post will cover upgrading your projects to make use of the new Test Management features in VSTS 2010. For the purposes of this post I will work with the agile template but the steps for CMMI are almost identical.

The attached document covers the steps necessary to upgrade a single project; once you have accomplished this you can use the information to script the upgrade of multiple projects and to add the new features to your organizations custom process template.

After you have upgraded the server and installed the new VSTS 2010 client you will want to make sure you have the appropriate permissions to make changes to the process template for a particular project. Please check with your administrator for details.

This document is not intended to explain the various concepts within TFS or with the new Test Management features. It expects that you are familiar with TFS and administering team projects and a fairly deep level. If you feel you need to learn more please check the documentation on MSDN.

New VSTS Load Test Integration on CodePlex

Project Description

This tool takes a WCF trace file and a WCF client proxy, or a WCF interface contract, and generates a unit test that replays the same sequence of calls found in the trace file. The code generated is easily modifiable so that data variation can be introduced for the purpose of doing performance testing.
The tool generates code for both Visual Studio 2005 and Visual Studio 2008. It also installs a wizard into both editions of Visual Studio for creating the trace and processing it from inside Visual Studio. If both editions are present the tool is installed into both editions. The source code is a Visual Studio 2005 project.

Latest Release June 2009

A new beta was released in June 2009 adding support for ASMX web services. Download it from here.

Features

  • Replay of captured scenario in a unit test that can be included in a load test.
  • Support for the DataContractSerializer.
  • Support for message contracts.
  • ASMX support (beta)
  • Support for proxies generated using svcutil.
  • Support for clients that create proxies at run time from contract interfaces.
  • Supports calls to multiple services in a single scenario.
  • Supports multiple calls to the same service operation.
  • Filtering by SOAP action of which messages in the trace to replay.
  • Readable and modifiable code is generated.
  • Automatic association of trace message with proxy method (requires all operations to have a unique SOAP action).
  • Support for client and server side traces.
  • A command line tool for processing traces and generating code.
  • Visual Studio 2005/2008 integration (Team Developer, Team Test, Team Suite and for 2008 also Professional)) that can be used instead of the command line tool.
Enabling Test Management on Upgraded Team Projects (Beta 1)

In Visual Studio Team System 2010 we are releasing a lot of new and exciting technology that should help improve your software development lifecycle.  Unfortunately simply upgrading your server does not automatically give your existing project these new capabilities.  Due to the differences in the process templates from VSTS 2008 to VSTS 2010 and the potential for customization by the end user all upgraded team project will require some manual intervention in order to work properly with all of the new functionality in the VSTS 2010 clients.

For a full overview of how to enable new features please see Enabling New Features of Visual Studio Team System 2010 Beta 1 in Upgraded Projects.

The post will cover upgrading your projects to make use of the new Test Management features in VSTS 2010.  For the purposes of this post I will work with the agile template but the steps for CMMI are almost identical. 

The attached document covers the steps necessary to upgrade a single project; once you have accomplished this you can use the information to script the upgrade of multiple projects and to add the new features to your organizations custom process template.

After you have upgraded the server and installed the new VSTS 2010 client you will want to make sure you have the appropriate permissions to make changes to the process template for a particular project.  Please check with your administrator for details.

This document is not intended to explain the various concepts within TFS or with the new Test Management features.  It expects that you are familiar with TFS and administering team projects and a fairly deep level.  If you feel you need to learn more please check the documentation on MSDN.

Checkout Team System for Testers at Tech-Ed 2006

Ed Glas is giving a session on the load testing features of Visual Studio Team Edition for Software Testers.

Delving into Visual Studio 2005 Team Edition for Software Testers

Day/Time: Monday, June 12 5:00 PM - 6:15 PM  Room: 104 ABC

Speaker(s): Ed Glas

Visual Studio 2005 Team Edition for Testers includes powerful load testing tools. Drill into the advanced load testing features to find out how to find performance and stress bugs in your applications before putting them into production. We show you how to take advantage of the advanced extensibility points in Web, unit, and load tests to build effective load tests. Find out how to model different user populations accessing your application through browsers and Web services. Learn how to identify problems using performance counter thresholds SQL profiler integration, and how to share results with your team through rich reports. In addition, we cover how to generate massive loads using Team Test Load Agents.

Track(s): Developer Tools

Session Type(s): Breakout Session

Session Level(s): 300

 

Edi is the Group Manager for Team System Test in Raleigh, North Carolina so if you are interested in our tools and want to give feedback he is the man to give it to.

Team Build Links and Stuff

I get a bunch of questions about Team Build and it seems that I am usually searching the web or my email to find the same set of links that I have sent before. So I thought I would create a blog post that I can send a link to. That way I can continually update the post with new information that I find.

Blogs and blog posts that I have found on Team Build.

Bloggers

Gautam Goenka (MSFT)

Khushboo's blog

Anutthara's WebLog

I know the answer (it's 42)

Manish Agarwal

Nagaraju Palla's WebLog

Posts

Nagaraju Palla's provides a great post on which properties and targets you can override and what order they are called in.

http://blogs.msdn.com/nagarajp/archive/2005/10/27/485980.aspx

Web Deployment

A very common question I get revolves around deploying a website from Team Build for testing. Since Team Build is capable of running unit, web and load tests as part of a build it would make since to deploy that newly built website so you could target it.

There are a couple of different way of accomplishing this.

The first way seems to be the easy way. I haven't tried this personally but I intend to.

There is a download on MSDN that adds a web deployment project to VS2005. The description pretty much sums it up.

Visual Studio 2005 Web Deployment Projects provide additional functionality to build and deploy Web sites and Web applications in ASP.NET 2.0 and Visual Studio 2005. This add-in includes a tool to merge the assemblies created during ASP.NET 2.0 pre-compilation, and provides a comprehensive UI within Visual Studio 2005 to manage build configurations, merging, and using pre-build and post-build tasks with MSBuild."

From: Visual Studio 2005 Web Deployment Projects

Additionally there is a TechNote written by Anutthara Bharadwaj that describes how these deployment projects work with Team Build.

The second way would entail you customizing your Team Build script with all the necessary tasks to deploy your website.

This process is described in another TechNote

Between these two resources you should be able to get up and running in short order.

What is the deal with all this blogging

It seems everyone who is anyone is their field or anyone who has an opinion about something or if they just like their cat a lot is now blogging their lights out. I am utterly amazed that the variety of topics that people want to write about on a website, but I suppose that is the draw. We have the medium that is totally un-censored and un-edited where anyone with an internet connection can spill their guts to the world in complete anonymity if they so choose.

For a long time I have been reluctant to start a blog. Mostly I don’t think I have anything new or original to say but I also have a general un easy feeling about putting my opinions out on the internet for everyone critique. At any rate here I am writing a post for a blog. I have no idea what I am going to put here or how regularly I am going to post, but at least I can tell myself that I tried.

So here goes it should be an interesting experiment or maybe it will be another collection of links to other peoples more original, more thoughtful and probably more useful information.

Page view tracker