Saturday, May 16, 2009

New features in VSTS 2010 From Bruno

WorkItems
Source Control
TFS Build
Herramientas de Modelado
Visual Studio
Visual Studio Test
Varios

VSTS 2008 Howtos

These might apply to vsts 2010 Users.

Thanks to Bruno for these excellent posts. These are for spanish speakers only

Original Post at: http://geeks.ms/blogs/elbruno/archive/2009/05/05/tfs2008-posts-y-howtos-sobre-team-foundation-server-2008-y-2005-iv.aspx


How To

Herramientas

Team System Web Access

TFS Errors

TFS Build

TFS WareHouse e Informes

Metodologías y Process Templates

Administración y mantenimiento

Varios

New Name for Test and Lab Tools CAMANO

At the Professional Developers’ Conference (PDC) in October last year, we disclosed information on a generalist testing tool (codenamed “Camano”) within Visual Studio® Team System 2010 that focuses entirely on test case management. Today we have formally named the tool: Microsoft Test and Lab Manager! Test and Lab Manager will be available with several of the Visual Studio Team System products including Visual Studio Team Test 2010.

We expect that there will be plenty of cases where generalist testers will want to manage and execute test cases without installing the entire Visual Studio system on each machine. To help make that easier, we will also release a scaled down edition for generalist testers called Visual Studio Team Test 2010 Essentials.

This gives us a great line up of test related products:

Visual Studio® Team Test 2010 Support for the specialist tester including Web and load testing capabilities in addition to the ability to create automated test suites. Executes in the Visual Studio environment for test professionals. Comes with Microsoft Test and Lab Manager.
Visual Studio® Team Test 2010 Essentials Support for the generalist tester including the ability to manage test cases and manual/automated test execution. Installs as a scaled down product for easy access on test machines.
Visual Studio® Lab Management 2010 Support for creating virtualized environments with snapshot capabilities. You can now execute your tests using the lab capabilities and save the state later for both development and test usage.

The new products are a great addition to the Visual Studio Team System product family and are a key part of our goal to help cut down on the number of “no-repro” scenarios that are experienced today between developers and testers.

We are finalizing Visual Studio 2010 Beta 1 as we speak. I hope you will install the builds and send us your feedback!


Resource

Visual Studio 2010 Beta 1 available

On Monday, May 18th, Visual Studio 2010 Beta 1 (Professional, Suite and Team Foundation Server) will be available to MSDN Subscribers through MSDN Subscriber Downloads and to the general public on Wednesday, May 20th through Microsoft Downloads.

Tuesday, April 21, 2009

Integrate Team Foundation Server 2010 with Project Server, Less Pain

Hello

I have just watched a video that surprised me, in this video MSFT shows how the new TFS 2010 will work integrated with project server and portfolio server, its a storyboard created in silverlight as the product is not ready right now, but I am sure that with this new feature a lot of more companies will implement the solution, one of the reason I havent implemented TFS in the past, its because I had to mantain the data in TFS and project separately and it was a headache to do it, no matter all the rest of the features if your company uses project too much, then the integration was painful.

I invite you to watch this video and let me know your toughts

http://channel9.msdn.com/posts/VisualStudio/Enterprise-Project-Management-with-Visual-Studio-Team-System-2010/

Monday, April 20, 2009

Team Foundation Server, New options for relationshipts between workitems in Team Foundation Server 2010

Since the version TFS 2008, we have always asked whats the relationship between tfs and project server, the problem is that in tfs 2008, we had to install a Project connect, which mapped the fields of tfs to project server. I am still waiting an answer from Microsoft team of what we will happen in the next release for this issue.

In tfs 2008, there was no way to respect the dependencies of Project tasks, like childs, predecesors, etc.

But now in tfs 2010, its possible to respect all Project relationships:

In this example you create a User Store, then create a task and make a relationship between them


In the relationship options you can see the LinkType field, which allows us to have the same project server relationships.



And then later in the work item querys we can see the tree of workitems, like this:


Wednesday, April 15, 2009

Resources to learn more about Visual Studio Team System 2010

While the various Visual Studio teams are working on our first beta release, I thought I’d point out some important resources to learn more about what we’re doing. First is the new weekly video podcast series known as 10-4. This has been going on for a few months now but I finally figured out where the name came from…I just couldn’t get past the CB phrase that was so popular when I was growing up. I now get that it’s a clever combination of VSTS 2010 and NetFx 4. Duh! I guess I’ve been triaging a few too many bugs recently. :-) Anyway, Brian Keller and crew have done a great job making this information very accessible and interesting along the way. Here’s a quick list of the podcasts posted to date:

10-4 Episode 14: Sentient DSLs
10-4 Episode 13: No More Late Surprises
10-4 Episode 12: Simplifying Your Code With C# 4.0
10-4 Episode 11: Bi-Directional Routing with ASP.NET WebForms 4.0
10-4 Episode 10: Making Web Deployment Easier
10-4 Episode 9: Visual Basic 10
10-4 Episode 8: Pure Client-Side Development with ASP.NET AJAX 4.0
10-4 Episode 7: No More Planning Black Box
10-4 Episode 6: Parallel Extensions
10-4 Episode 5: Code Focused in Visual Studio 2010
10-4 Episode 4: No More Parallel Development Pain
10-4 Episode 3: ASP.NET WebForms 4.0
10-4 Episode 2: Welcome to Visual Studio 2010
10-4 Episode 1: Working with the Visual Studio 2010 CTP VPC

The other recent activity in this space is Brian Harry’s new series on VSTS 2010 which he started this week: Team System 2010 Overview. If you haven’t already subscribed to his blog, I’d certainly recommend it. Brian’s always got interesting things to say.

Team System 2010 Overview

Brian Harry has blogged about the VSTS 2010 features on

http://blogs.msdn.com/bharry

The most discussed features are here:

Architecture (http://blogs.msdn.com/camerons/)

* Architecture Explorer
* Layer diagram
* Use case designer
* Activity designer
* Component diagram
* Logical class designer
* Sequence diagram
* Modeling project system
* UML Model explorer
* Architecture validation during build

Development & Database (http://blogs.msdn.com/habibh/)

* Historical debugging
* Test impact analysis
* Improved code analysis
* Improved profiling (especially multi-tier)
* Database extensibility

Lab Management (http://blogs.msdn.com/amit_chatterjee, http://blogs.msdn.com/lab_management)

* Multi-tier Environment creation and management
* Automated deployment
* Easily manage machine pools
* Network fencing
* Checkpoints

Test (http://blogs.msdn.com/amit_chatterjee, http://blogs.msdn.com/james_whittaker)

* Test planning
* Test case management
* Test prioritization
* Run management & reporting
* Project quality reports
* Manual test execution
* Diagnostic recording (environment, video, etc)
* UI Automation recording
* Coded UI tests

TFS (my blog http://blogs.msdn.com/bharry)

* Work item hierarchy & linking
* Improved Agile template
* MOSS & WSS Dashboards
* Simplified reporting
* Improved support for parallel development
* Rollback
* Build queuing and pooling
* Gated checkin
* Simplified setup
* Scale out of web and data tiers
* Admin console
* Project move/archive/restore

Tuesday, March 24, 2009

Generic Singleton Pattern - C#

I was trying to reinvent the wheel, trying to create a generic version of the Singleton Pattern for our .net Objects.

The code itself its self-explanatory.

However I found it here:

Pasted code below:

public static class Singleton where T : class, new()

{

private static readonly object syncRoot = new object();

private static T instance;

public static T Instance

{

get

{

if (instance == null)

{

lock (syncRoot)

{

if (instance == null)

{

var tempInstance = new T();

Thread.MemoryBarrier();

instance = tempInstance;

}

}

}

return instance;

}

}

}

Monday, March 23, 2009

First Look at the VS 2010 Designers

Hello: This is my first sensation of the new designers at VS 2010

1. The layer designer is cool, it allows me to map Logical Layers to Physical Projects like websites, Projects, or DLLS, I didnt try if I can map a layer to just a Class, I will try tomorrow

2. Use Case Diagram, Very Cool, but I didnt find how to use preconditions, post conditions, basic flow and exceptional flows, I saw it somewhere else as a Comment linked to the use case, but I guess the person that was using that example had a newer version and not a CTP. However I dont like that those comments be linked as comments to the use case, what I would like to see is to double click the use case and see all its details on a new window

3. Sequence Diagram: Its one of the most powerful tools for designers and architects like me, I like everything except:
1. I couldnt create Loops, Alt, Refs, etc.
2. I couldnt map a Class in the sequence diagram to a lifeline, Ideal would be to drag and drop a physical class or a logical class from other diagrams to the sequence diagram.
I deleted a lifeline by mistake and it Doesnt have UNDO, I lost my work.

4. Component Diagram: Its very useful to help understand the physical relationships between components, remember than components can be a browser, a .exe or a dll, or whatever you want

5. Activiy Diagrams, Havent used them yet

What else we need:

1. Deployment diagrams, I should be able to drag and drop the physical components into physical Nodes.
Like in this example:
http://www.sparxsystems.com.au/resources/uml2_tutorial/uml2_deploymentdiagram.html

Saturday, March 21, 2009

How Microsoft/DevDiv uses Team Foundation Server

Gregg Boer, Principal Program Manager on the TFS product group, wrote an excellent series of blog posts of how Microsoft uses the MPT internally along with an overview of the process around tracking progress throughout the release.

· How Microsoft/DevDiv uses TFS - Chapter 1 (Our Process)

· How Microsoft/DevDiv uses TFS - Chapter 2 (Feature Crews)

· How Microsoft/DevDiv uses TFS - Chapter 3 (Implementing the Process)

· How Microsoft/DevDiv uses TFS - Chapter 3 (Addendum)

· How Microsoft/DevDiv uses TFS - Chapter 4

· How Microsoft/DevDiv uses TFS - Chapter 5 (Tracking Progress)

· How Microsoft/DevDiv uses TFS - Chapter 6 (Tracking multiple projects)

· How Microsoft/DevDiv uses TFS - Chapter 6 (Addendum)

· How Microsoft/DevDiv uses TFS-Chapter 7 (Tracking Risk)

· How Microsoft/DevDiv uses TFS-Chapter 8 (Tracking Quality Gates)

· How Microsoft/Dev Div uses TFS - Chapter 9 (Transparency in Reporting)

Work Item Rules Workarounds: Force selection of Reason

On TEam WIT Tools Blog, they posted a small tutorial in how to force selection of reasons to close a workitem.

http://blogs.msdn.com/teams_wit_tools/

MIcrosoft CodeName Camano PART I

What is Codename Camano,

Camano (part of Rosario) is the code name given to the Microsoft standalone testing suite for General Testers. Camano supports planning, creation and executing of manual test cases (CTP April 2008: for testing websites).

Camano fights the non reproducible bugs

Generalist Testers must write accurate bug reports, but now they can stop detailed manual logging of their actions. Because the bug reporting of Camano is great! Camano can keep track of the complete manual (structured or not) behavior of the Generalist Tester. So if a tester is a bit enthusiastic and performs more, better or other tests than originally planned, Camano don't mind, the Microsoft Test Runner records everything in the background for the later uses:
  1. Regression testing: the whole script or part of the script.
  2. Export to Visual Studio for the creation of automated scripts (to be performed by technical skilled testers before releasing).
  3. And for bug reporting!! If a tester runs into a bug, the bug report contains not only all the configuration parameters, it also contains all the steps taken before the bug did occur! Combined with the possibility to capture the window, this support of bug reporting is very strong!!
By combining Camano with the flexibility of our structured test approach TMap®, I can re-introduce on-the-fly testing in our test projects!

Structured "on-the-fly" Testing

Also, with Camano it is possible to have the fun of on-the-fly testing and still report reproducible bug reports. Combining Camano with TMap® makes it possible for us to do result driven test assignments (agreements with the project management concerning time, budget and/or test coverage) and still enjoy testing.
To explain the test teams the balance between structured and on-the-fly testing and how to use Camano in the test project.

Lets take a look at some screenshots:

1. This view allows me to view which requirements dont have Test Cases



2. TEst Case Manager, to create test cases:



3. Share Steps, you can create shared steps and then reference them on your test cases.



4. One image talks more than 1000 words.

Friday, March 20, 2009

Team System Big Event – CO, CA, OR, AZ

Taken from

http://blogs.msdn.com/dajung/archive/2009/03/18/team-system-big-event-co-ca-or-az.aspx



ESSIONS

Test Driven Development: Improving .NET Application Performance & Scalability
This session will demonstrate how to leverage Test Driven Development in Team System. We’ll highlight both writing unit tests up front as well as creating test stubs for existing code.

"It Works on My Machine!" Closing the Loop Between Development & Testing
In this session, we will examine the traditional barriers between the developer and tester; and how Team System can help remove those walls.

Treating Databases as First-Class Citizens in Development
Team System Database Edition elevates database development to the same level as code development. See how Database Edition enables database change management, automation, comparison, and deployment.

Architecture without Big Design Up Front
Microsoft Visual Studio Team System 2010 Architecture Edition, introduces new UML designers, use cases, activity diagrams, sequence diagrams that can visualize existing code, layering to enforce dependency rules, and physical designers to visualize, analyze, and refactor your software. See how VSTS extends UML logical views into physical views of your code. Learn how to create relationships from these views to work items and project metrics, how to extend these designers, and how to programmatically transform models into patterns for other domains and disciplines.

Development Best Practices & How Microsoft Helps
Sometimes development teams get too bogged down with the details. Take a deep breath, step back, and re-acquaint yourself with a review of current development best practice trends, including continuous integration, automation, and requirements analysis; and see how Microsoft tools map to those practices.

"Bang for Your Buck" Getting the Most out of Team Foundation Server
Today’s IT budgets are forcing teams to do as much as they can with as little as possible. Why not leverage Team Foundation Server to its full potential? In this session we’ll highlight some capabilities of TFS that you may or may not already know about to help you maximize productivity.

clip_image002

REGISTRATION

This is FREE Event!

Register for a date & location near you!

Welcome: 8:00 AM

Seminar: 8:30 AM-5:00 PM

Denver, CO - April 22, 2009
Click here to register with invitation code: DD1A7F.

Mountain View, CA - April 28, 2009
Click here to register with invitation code: 80D459.

Irvine, CA - April 30, 2009
Click here to register with invitation code: A86389.

Portland, OR - May 5, 2009
Click here to register with invitation code: 2DC0A9.

Phoenix, AZ - May 7, 2009
Click here to register with invitation code: 90BC47.

To Register by Phone – Call 1.877.MSEVENT (1.877.673.8368) with invitation code.

ASP.NET MVC 1.0 Released

Yesterday, ASP.NET MVC 1.0 went live! You can download from here. There was announcement at MIX 09 in Las Vegas and a number of Microsoft blogsphere denizens have been writing about it.

Good Articles:

To get the latest information, including tutorials, sample code, design galleries, and discuss groups, check out the official site at http://www.asp.net/mvc.


Taken from:

http://blogs.msdn.com/dajung/archive/2009/03/19/asp-net-mvc-1-0-release-to-web.aspx

Better Test, Better Software, Lab Management in Visual Studio 2010

In the last few days, I have investigated a lot about the cool new features of visual studio team system and found the Lab management in visual studio 2010.

Are you used to the "no repro" bugs, when the tester shows a bug and the developer says, "it works on my machine", well those days are gone.

In vs2010, Microsoft has included Virtualization into this tool. The idea is that test environments should take minutes and not weeks, walls between developers and testers will go down and eliminate the bug ping pong.

Lab Management uses virtualization technology and deep integration with our overall Application Lifecycle Management model and System Center Virtual Machine Manager to deliver on these principles. It is built specifically to accelerate setup/tear down/restore of complex virtual environments to a clean state. We solve the no-repro problem by allowing testers to file rich bugs with links to environment checkpoints that developers use to recreate bugs in complex environments. With one click of a button the developer can launch a virtual environment that exactly matches the one in which the bug was found. Finally, we extend build automation dramatically by automating virtual machine provisioning, build deployment and build verification in an integrated fashion. We believe this approach will enable teams to embrace change and be more agile in an ever demanding world.

Lab Management leverages virtualization and allows multiple checkpoints to be created across lab environments (consisting of multiple VMs). Since the checkpoints are part of the same image as opposed to having to clone at every state snapshot, that reduces the proliferation. In addition, lab management ties the environments to the notion of a project which allows the lab administrator to clean up the images as projects are completed.

Lab Management is built on top of System Center Virtual Machine Manager, and thanks to SCVMM managing VMs on multiple hypervisors, Lab Management supports both Hyper-V and VMware ESX out of the box.

Since it’s built on SCVMM, lab management allows developers to:

• Manage groups of VMs as single entity

• Allows rapidly clone VMs using network fencing and other technologies

• Integrates with ALM tools to create tighter interaction between development/test & operations

• Patch virtual machines that are stored in a library by deploying the VMs on a dedicated resource pool (hardware) patching them and moving them back to the library.

Build automation will be able to automate complex virtual machine provisioning, build deployment, and build verification; dramatically speeding up the Develop – Build – Deploy – Test cycle. The deep integration will allow testers to file “rich bug reports” with links to environment checkpoints. With one button click, developers will be able to launch a virtual environment that exactly matches the one that the bug was found in.





Check out these links for more detail on lab management.

http://blogs.msdn.com/somasegar/archive/2008/12/12/lab-management-in-vsts-2010.aspx

http://www.vmware.com/products/labmanager/

http://blogs.technet.com/virtualization/archive/2008/11/12/visual-studio-2010-lab-management-uses-virtualization.aspx

http://blogs.msdn.com/lab_management/

http://channel9.msdn.com/posts/VisualStudio/Lab-Management-coming-to-Visual-Studio-Team-System-2010/




Thursday, March 19, 2009

VSTS Reporting with Excel - Cumulative Flow Diagram

This demonstration covers creating using MS Excel to interact with the Team Foundation Server (TFS) OLAP cube (called TFS Warehouse). In particular, it demonstrates how to hook Excel 2007 up to the cube, create a pivot table of work item states over a date period, and show the resulting data in a Pivot Chart. The chart provides a very clean Cumulative Flow diagram, that can help project managers and other managers determine the location of bottlenecks (constraints) in their software development process.

http://www.vimeo.com/2535546

Planning for Team Foundation Server 2010 (Rosario)


Brian Harry posted an interesting blog which outlines some of the steps that can and should be taken in planning for Rosario. Note that this information is based on assumption and subject to change. Below is a summarised view that may be handy for your Rosario budget meeting… [Download pdf]


Two whitepapers that have been published about Sharepoint Development

Here are links (and summaries) to two whitepapers that have been published.

VSTS Rangers - SharePoint Server Custom Application Development: Document Workflow Management Project
Read about the real-world design, construction, and deployment of a custom SharePoint Server 2007 application to a mid-market enterprise customer using Team Foundation Server as an ALM platform.
VSTS Rangers - Using Team Foundation Server to Develop Custom SharePoint Products and Technologies Applications
Learn how to use TFS to support your SharePoint application development, and provide an integrated development environment and single source code repository for process activities, integrated progress reporting, and team roles.

QFE for debugger crash available

A fix for a widely reported crash in the Visual Studio 2008 IDE is now available. This fixes a crash that occurs after changing layouts (undocking/docking windows) and then changing modes (start stop debug, or switch to/from full screen). This bug was introduced in Service Pack 1 and the fix for this is now available for download via Code Gallery at: http://code.msdn.microsoft.com/KB960075