Visual Studio 2012 Update 1

Microsoft changed the release cycle of Visual Studio and Team Foundation server, from now on there are going to be quarterly releases of both products. The first update (Update 1) is here and this is what it contains:

  • Extend TFS server side path limits from 260 characters to 400 characters
  • Usability improvements for Version Control
    • Associate multiple bugs with a checking at once in the Add by ID field (i.e. comma separated)
    • Toolbar button to show/hide deleted items in the source control explorer
    • Copy the name of a changeset/shelveset from the Changeset/Shelveset Details page
    • Find a Shelveset by name from the Find Shelvesets page
    • Include/exclude all items except those that are selected
    • Know if my detected changes are adds or deletes before clicking the link
    • Navigate to an item in source control explorer from pending changes page
    • Undo changes to a file from the editor context menu
  • Kanban support in TFS Web Access
  • TFS web access usability improvements
    • Drag and drop queries and query folders
    • Drag/drop between User Stories and People in the Taskboard
    • Drag a task to a person to assign it in the Taskboard
    • Expand and Collapse the left navigation pane
    • Remember the state of the splitters
    • Animate Taskboard tiles on drop
    • Next/Previous arrows on WIT form
    • Updated navigation styling
    • Links and Attachments in WIT form shows counts
  • Sharepoint testing improvements
    • Load testing support for SharePoint
    • Unit test emulator for SharePoint
    • Coded UI test support for SharePoint
    • Intellitrace collection plan for SharePoint
  • Manual testing improvements
    • Editing of test cases from inside the test runner
    • Code coverage support for manual testing of web apps
    • Hierarchical query support
    • Pause manual testing session and later resume a test case
    • Deep copy of a test plan to better support release management
    • Publish test results to TFS from command-line
  • Coded UI testing improvements
    • Cross browser testing for coded UI testing (IE, Chrome, Firefox, …)
    • Usability improvements for Coded UI tests
  • SCVMM 2012 SP1 support with Lab Management for Windows 2012 hosts
  • VSUpdate support for Microsoft Test Manager for automatic update notification
  • Unit testing improvements
    • Windows Store C++ unit testing enhancements
    • Windows Store Unit Test library enhancements
    • Traits support for all adapters
    • Unit Test Grouping and Filtering in Test Explorer Window
  • Easier installation of unit test adapters on TFS build machines using Nuget
  • Code Map – Incremental discovery and visualization of your application architecture and dependencies
  • IntelliTrace Integration with System Center
  • Integrate Blend Windows Phone Tooling
  • Multiscale image support for manifest content
  • JavaScript Memory Profiling
  • Mixed Managed/Native Debugging Support for Store Apps
  • ARM Native Dump Debugging Support
  • Enable XP targeting with C++

Read more at the Visual Studio + ALM Team blog

My personal favorites are the Kanban support and the new drag and drop features in TFS Web Access.

Download the Visual Studio update here and the Team Foundation Server update here.

Read Damians blog for a detailed instruction for the TFS upgrade.

There is also an update for Team Foundation Power Tools to match the service update, download it here

In Visual Studio 2012 Update 2

In Visual Studio 2012 Update 2 we will among other things se test case management and manual testing from within a browser!

Team Foundation Service

If you want to see what probably be included in upcoming Team Foundation Server releases you should take a look at Team Foundation Service, the cloud based version of TFS. Team Foundation Service has a release cycle of three week. Read more in their blog.

 

 

 

Migrating Scrum for Team System 3.x to MS Scrum 2.0

A lot of you have probably used the Scrum for Team System process template from Conchango in previous versions of Team Foundation Server (pre 2012). Scrum for Team System is now an open source project on Codeplex and I haven’t seen any plans to a TFS 2012 versions. For those of you wanting to use the new TFS 2012 features I have two recommendations:

  1. The easiest way is to create a new TFS project and start using it
  2. If you want to upgrade an existing project read my blog below.

Download Work Item type definitions

  1. Download the process template for MS Scrum 2.0 and Scrum for Team System 3.0x with the Process Template Manager for example to C:MyDownloadedTemplates.  If you have modified the Scrum for Team System with fields of your own you should download those instead.

Change Work Items

  1. Identify and copy fields that you use that differ from Scrum for Team System to the MS Scrum Work Item definitions and identify the state changes between the templates. Some of them also include name changes of the Work Item type definition. If you have added fields of your own you should also include them.
Conchango WI MS Scrum WI Field mapping States mapping
Product backlog item Product backlog Item
  •   Business value (Scrum) – Business Value
  •   Storypoints – Effort

 

 

  •   In progress – Comitted
  •   Not Started – New
  •   Deleted- Removed
  •   Descoped-Removed
  •   Broken –  Removed
  •   Depricated – Removed
Sprint backlog task Task
  • Task Priority (Scrum) – Backlog Priority
  • Work Remaining (Scrum) Remaining Work
  •   Task Priority (Scrum) – Backlog Priority
  •   Work Remaining (Scrum) Remaining Work
  •   Not Started – To Do
  •   Deleted – Removed
  •   Descoped – Removed
Bug Bug
  •   Active – New
  •   Ready For Test – Done
  •   Closed – Done
  •   Deleted – Removed
  •   Ignored – Removed
Acceptance test Test Case
  •   Not Implemented – Design
  •   Deleted – Closed
  •   Ready for Test -Ready
  •   Passed – Ready

 

 

Here is what the PBI modification may look like

Here is what the Task modification may look like. Note that I have changed the name of the MS Scrum Task to Sprint Backlog Task so that is will overwrite the existing WI definition, it will be renamed later.

 

Upload Work Item Type definitions

Upload the modified WIs from the MS Scrum template to the project that is to be modified with witadmin.exe.

1. Start a Visual Studio command prompt and run the command below

CD C:MyDownloadedTemplatesMicrosoft Visual Studio Scrum 2.0WorkItem TrackingTypeDefinitions

2. Upload the product backlog Item WI

witadmin importwitd /collection:http://MYTFSSERVER:8080/tfs/MyCollection /p:”MyProject” /f:”ProductBacklogItem.xml”

3. Upload the Task WI

witadmin importwitd /collection:http://MYTFSSERVER:8080/tfs/MyCollection /p:”MyProject” /f:”Task.xml”

4. Change name of the WI from Sprint Backlog Task to Task

witadmin renamewitd /collection:http://MYTFSSERVER:8080/tfs/MyCollection /p:”MyProject”  /n:”Sprint Backlog Task” /new:”Task”

5. Upload the Bug WI

witadmin importwitd /collection:http://MYTFSSERVER:8080/tfs/MyCollection /p:”MyProject” /f:”Bug.xml”

6. Upload the TestCase WI

witadmin importwitd /collection:http://MYTFSSERVER:8080/tfs/MyCollection /p:”MyProject” /f:”TestCase.xml”

7. Change name of the WI from Acceptance Test to Test Case

witadmin renamewitd /collection:http://MYTFSSERVER:8080/tfs/MyCollection /p:”MyProject”  /n:”Acceptance Test” /new:”Test Case”

8. Upload the Impediment WI

witadmin importwitd /collection:http://MYTFSSERVER:8080/tfs/MyCollection /p:”MyProject” /f:”Impediment.xml”

9. Upload the Shared step WI

witadmin importwitd /collection:http://MYTFSSERVER:8080/tfs/MyCollection /p:”MyProject” /f:”SharedStep.xml”

Copy fields using excel

Use Excel to copy fields between the old and the new fields that differs. Also use Excel to change the stare model.

Remove WIs that are not used.

The following WIs are not used in the MS Scrum template, remove them.

witadmin destroywitd /collection:http://MYTFSSERVER:8080/tfs/MyCollection /p:”MyProject” /n:”Sprint Retrospective”

witadmin destroywitd /collection:http://MYTFSSERVER:8080/tfs/MyCollection /p:”MyProject” /n:”Release”

witadmin destroywitd /collection:http://MYTFSSERVER:8080/tfs/MyCollection /p:”MyProject” /n:”Sprint”

witadmin destroywitd /collection:http://MYTFSSERVER:8080/tfs/MyCollection /p:”MyProject” /n:”Team Sprint”

 

Work Item Queries

1. Create a new WIq folder called Old and move all old Queries there

2. Copy WIQs from a project  Created with MS Scrum with copy-paste

3. Modify queries under the Current Sprint folder to match your sprints

 

Change sharepoint

You may not be able to access the SharePoint site because old web parts might be missing, to fix this follow these steps.

  1. Go to Site settings, http://MyTFSserver/sites/MyCollection/MyProject/_layouts/settings.aspx
  2. Activate sites features Scrum Dashboards with reporting and Team Collaboration Lists
  3. Go to http://MyTFSserver/sites/MyCollection/MyProject/Dashboards/Forms/AllItems.aspx
  4. Select ”Open with  Windows Explorer”
  5. Copy Release.aspx and overwrite Default.aspx
  6. Go to Site settings, choose ”Title, Description and Icon”
  7. Change the Icon URLto /_layouts/Microsoft.TeamFoundation/images/tfstitlegraphic.gif
  8. Click update the user interface

 

 

Add new reports

  1. Remove the old reports
  2. If you haven’t installed Team Foundation Power Tools, install it.
  3. Run tfpt addprojectreports to add the new reports

tfpt addprojectreports /collection:http://MYTFSSERVER:8080/tfs/MyCollection /teamproject:”MyProject” /processtemplate:”Microsoft Visual Studio Scrum 2.0″ /force

 

Add TFS 2012 functionality

1. Start TFS Web access for the project

2. Click Backlog

3. Click Configure

4. Click Verify

5. Click Configure

6. Click Close

 

You now have I migrated project with a new process template. Next step is to set dates to your Iterations and add members to your team!

Nyheterna i Visual Studio 2012 ALM (Swe)

Jag och min kollega Mathias Olausson har blivit intervjuade av Dag König på Microsoft, ämnet är nyheterna i Visual Studio 2012 ALM, lyssna på Podcasten här.

Pro Application Lifecycle Management with Visual Studio 2012

One of my colleagues Mathias Olausson has together with Joachim Rossberg written a new book called Pro Application Lifecycle Management with Visual Studio 2012 is available on Amazon now. The book covers the whole ALM lifecycle and also how to implement these practices with Visual Studio 2012 and Team Foundation Server.

Read more about the book here on Mathias blog

Presentationerna från DevDays (SWE)

Igår genomfördes  DevDays för Visual Studio 2012 i Stockholm av Peter Oreland och Mathias Olausson från Transcendent Group tillsammans med Microsoft.

Garnisonen var nästan fullsatt ca 150 deltagare samt 165 som deltog på livelänken.

Ni hittar samtliga föreläsningar här: www.streamshed.com/microsoft/devdaysvisualstudio.htm

Presentationerna finns här: http://blogs.msdn.com/b/utvecklarlicenser/archive/2012/09/26/roadshow-dev-days-microsoft-visual-studio-2012.aspx

Dev Days, Visual Studio 2012 in Sweden

Are you interested in what’s new in Visual Studio and TFS 2012? We (Transcendent Group) and Microsoft are together hosting three launch events in Sweden.

  • Stockholm, 25:th September
  • Göteborg, 26:th September
  • Malmö, 27:th September

Agenda: Transforming Ideas into Reality
This seminar is aimed at new and experienced Visual Studio users. We will show and explain the new capabilities in Visual Studio 2012 using lots of demos. The value of Visual Studio 2012 can only be shown properly when we tell the whole story – starting with new features for the individual developer and then moving on to team development and Application Lifecycle Management innovations. In this Roadshow, every session builds on top of the previous to present a complete and coherent storyline that shows off the new Visual Studio features to best effect.

· Keynote: Transforming Ideas into Reality with Visual Studio 2012 (60”)
Topics: The Business Value of Software Development/Current Trends in Software Development/VS 2012 Themes and Features/Application Lifecycle Management
VS Demos: IDE/WPF and Silverlight/METRO Applications/C++/Web Development/ALM Overview,
Michael Köster, Microsoft, in English

· What’s New in the Visual Studio IDE (45”)
Topics: VS 2012 IDE in depth/Tips and Tricks for Developers/My Work
VS Demos: Simplified UI/Navigating Code/Search & Find/Write Code Faster/Streamlined Environment/Debugging/My Work/Code Reviews
Michael Köster, Microsoft, in English

· Visual Studio ALM Walkthrough (90”)
Topics: ALM features for each ALM stage
VS Demos: Sprint/Backlog Management/Storyboarding/Stakeholder Feedback/Architecture Tools/Team Explorer/Source Control/Intellitrace/Code Analysis
Mathias Olausson, Transcendet Group, in Swedish

· Testing and Quality Enablement with Visual Studio (45“)
Topics: Testing
VS Demos: Unit Tests/Manual Testing/Exploratory Testing/Coded UI/Test Automation/Test Virtualization/Intellitrace in Production
Peter Oreland, Transcendent Group, in Swedish

· No Visual Studio? No Problem! (45“)
Topics: TFS Preview/Team Explorer Everywhere
VS Demos: TFS Preview/Cloud Testing/Cloud Build/Eclipse/TEE
Michael Köster, Microsoft, in English

· Wrap-Up/Resources (15”)
Michael Köster, Microsoft, in English

Read more about it and sign up here: https://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032518053&culture=sv-se

 

 

Testing for Continuous Delivery with Visual Studio 2012

The ALM Rangers have released another great guide, this time about testing with Continuous Delivery. The guide tells us the story of two companies, Contoso and Fabrikam and their approach to testing and deployment (the old and the new way).

It describes the entire test and deployment process in from A to Z including

  • Unit tests with code coverage and check in policy’s
  • Intellitrace
  • Coded UI tests
  • Builds with Continuous integration
  • Different kinds of alerts
  • Setting up lab environments with SCVMM and Hyper-V
  • Using Microsoft test manager for manual tests with Requirements and Test Cases
  • Automating manual tests
  • Deploying a tests application
  • The new Feedback tool

Read or download it here: http://msdn.microsoft.com/en-us/library/jj159345

Presentations from TechDays 2012 (SWE)

My presentation from TechDays 2012 is available online. If you missed the conference but would like to watch what we talked about the sessions can be found here:

The presentations are in Swedish.

VS/TFS 2012 RC

TFS 2012 RC is finally here!

Microsoft has released TFS 2012 RC, download it here

Brian Keller also released a new Hyper-V image with VS/TFS 2012 installed and lots of really nice hands-on-labs, download it here

 

What’s is new in this version? Here are some of my favorites:

Team Web Access

Web The access has a brand new look and is also quick to work with. You can work with your backlog and sprint planning in a much better way than before.

 

Storyboarding

With Storyboarding you can visualize your requirements with PowerPoint and link them to a User Story or PBI in TFS.

Microsoft Feedback Manager

With the Feedback Manager, every team member can provide feedback on an application with video, audio and text. This feedback can then be assessed and placed in the backlog as a User Story or Bug.

Local workspaces and offline support

Workspaces in TFS has previously not been so easy to work with, In TFS 2012 we now have “Local Workspaces” in which files are checked out automatically regardless of which tool you edit with. The Offline support is much better. You can check out, add and delete files when you are offline; TFS handle this when you go online again.

 

Visual Studio ALM Rangers Dev 11 projects

Microsoft released the Visual Studio 2011 Beta a few weeks ago.

Here are the downloads:

TFS Developer Preview here: http://www.microsoft.com/download/en/details.aspx?id=27542

During the last few days the Visual Studio ALM Rangers have released a lot of really nice projects on Codeplex

Shipped projects