Microsoft Sommarkollo 2013 (swe)

För elfte gången håller Microsoft sommarkollo, i år i Göteborg, Stockholm och Malmö. Det är kostnadsfritt så passa på att unna dig några sessioner om de senaste trenderna och produkterna från Microsoft!

image

Vi är glada att få vara med på evenemanget och kommer presentera dessa två sessioner:

Båda går först i Göteborg den 26 juni (med min kollega Mathias Olausson) och sedan 15 augusti i Stockholm.

Passa på att boka en plats nu på en gång!

New reports for TFS Administrators

There are some really nice reports for those of you that are TFS Administrators.

Browse in to your server like this http://your-server:8080/tfs/_oi/

There are two sets of reports, the Activity log and the TFS Job Monitoring

Activity log

This reports shows every single command that every single user has executed against TFS from the last 14 days (the amount of days can be changed).

TFS Job Monitoring

This is a set of reports that show all jobs that are being rund from inside TFS by the TFS Background Job Agent.

Read more in Grant Holidays blog here

Visual Studio 2012 Update 2

The second update of Visual Studio and TFS 2012 is released.

The last update, TFS 2012.1 was quite difficult to install you had the enter all accounts and settings in the application tie, TFS 2012.2 has a much better  installation experience, you install Update 2 and launch the upgrade wizard, you should see all your old settings pre-populated there.  With the exception of entering account passwords.

You will be able to install Update 2 directly on top of RTM and run the upgrade wizard.  No need to go through Update 1 first.  You could also upgrade from Update 1 or just install Update 2 on a new server without installing 2012 RTM at all.

What’s new?

Here are my favorites:

Web based Test Case Management

With the web based Test Case Management tool you will be able to run your manual test without Microsoft Test Manager. This is perfect for stakeholders running Acceptance tests or test in environments where you can’t install the Test Manager.

Test Explorer grouping/filtering tests by Class

There is is finally a better Unit test grouping/filtering experience.

A new Team Explorer connection dialogue

 

A new dialogue where you can see all the TFS and GIT repositories that you have connected to.

Team Foundation Server Work item Tagging

A way to tag and filter your Work Items

GIT as Version Control for TFS service

If you use TFS Service you will be able to use GIT as a source control repository, this will probably be part of the next major version of the on premises TFS.

Customize columns in the Team Foundation Kanban Board

You will be able to customize the Kanban board directly from the Web interface.

Here are all the features:

  1. Web based Test Case Management
  2. Code Map Debugger Integration and Responsiveness Improvements
  3. TDD for Windows Phone Unit Tests
  4. Test Explorer group tests by Class
  5. Web based version control Explore and Compare
  6. Send work items in email
  7. Email work items from backlogs
  8. Web version control Improvements
  9. New Team Explorer Connection dialog display multiple servers, TPCs and projects
  10. Advanced SharePoint 2010 Load Testing
  11. Team Foundation Server Work Item Tagging
  12. Extended cross browser support in Coded UI Testing
  13. Microsoft SharePoint 2013 support in Coded UI Testing
  14. Test Explorer test details improvements for Coded UI Tests
  15. Improvements in Windows Store Applications Unit Testing
  16. Test Explorer test playlists
  17. Symbol Loading improvements for IntelliTrace and Profiler
  18. While not technically part of Update 2: Git as version control on Team Foundation Service
  19. Fakes now available in Visual Studio Premium
  20. Coded user interface testing support for Internet Explorer 10 on Windows 7
  21. Visual Studio HTML and JavaScript profiler
  22. Enable adding attachments to test outcomes in web based test case management
  23. Enable pausing and resuming test execution in web based test case management
  24. The ability to clone test cases in Microsoft Test Manager

Read more here at the Team Foundation Server Team blog

Download it here

TFS 2012 certifications

Microsoft released a couple of new certifications for TFS 2012:

I took the first exam a (70-498) couple of days ago together with three of my colleagues at Transcendent Group. To start with it was much more difficult than I thought it would be, I scored 700 points (700 was required to pass).

Most of the questions was how you work with the built in process templates, you should be really comfortable with all three and theories behind them .

  • MS Scrum 2.0
  • MSF Agile 6.0
  • MSF CMMI 6.0

I also got a few build and lab management questions and one or two about how to replace bugs in Excel with TFS.

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.

Exploratory Testing with Test Manager 2012

The big news for testers in Test Manager 2012 is the substantial improvement on exploratory testing. In 2010 you could only run a standard test case with a test step that for example said “explore something” and then you could create an exploratory bug with a timeline. As of 2012 exploratory testing has got some really great improvements and is now a key part of the testing process.

There are two ways to start exploratory testing in Test Manager, it can either be started from the Plan tab, right-click on either the test plan suite or a requirement suite and select explore.

Or it can be started from the Test tab, go to Do Exploratory Testing and press explore or select a requirement and press explore work item.

Press start in the exploratory runner too start running your exploratory testing, notes on what you’re testing can be entered in the free text field along with screenshots.

If you want to highlight something in the screenshot just double click the picture and it will be opened in paint. Make a change in the picture and save and the picture will automatically be updated in the text field in the exploratory runner. You can always create bugs and test cases from your exploratory testing, creating test cases are mainly meant to be used to if you find a flow that you would like to automate. Something to think about here is that it is possible to create a bug and from the bug then create a test case for having a test scripts test case to verify the bug later on. When creating a bug do it as usual but press the button, save and create test cases when you have finished writing bug.

When you are finished testing, press end test and a summary of the test session appears, do not forget to save this session so you can always in the future go and see how these tests went.

I think the new parts in Test Manager 2012 are very welcome and functional supplements to make Test Manager a much more complete testing tool. One thing I am missing on exploratory testing is that if you are not using Scrum but instead uses any other development/test methodology and prefer to run testing on areas or something other than requirements it is not possible today. I myself would like to see it possible to run against an area path or test suite. But for now the only way to run exploratory testing is against the test plan or a requirement.

Good Luck!

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