DCSIMG
TFS 2010,DEV - Yuval Mazor - Searching for Zen in Software Development

Yuval Mazor - Searching for Zen in Software Development

Browse by Tags

All Tags » TFS 2010 » DEV (RSS)
More on Team Build 2010 Extensions
In my last post , I touched briefly on the concept of build extensions , and explained that they are an implementation of WF4 extensions . I thought it would be useful to list the other build extensions that are available inside of a build template: IBuildDetail – This build extension enables you to notify the build server about important aspects of your build (compilation/test status, overall build status, the label associated with the build, etc.). In fact, this is the how the SetBuildDetails built...
Add Chuck Norris to Your Build!
In this post I’ll show how to write a somewhat more complex and hopefully fun activity for TFS 2010 Team Build (code is available here ). In particular, I’ll make use of the following features: The ActivityTrackingAttribute class Build Extensions (a specialization of WF4 Workflow Extensions) Since our builds are sometimes long and dull processes, we need some stuff to talk about while they run. What could be better than discussing the prowess of the one-and-only Chuck Norris ? We’ll have Team Build...
Writing a Simple TFS Report – Part 4: Publishing the Report
In the last post of this series we completed our report so that it contains all the graphical annotations we wanted.  It is now time to publish it to the server and make it available to our users .  Publishing the Report to the Server Once we have a report running on the local machine, publishing it is the easy part!  1.  Open the report that we worked on throughout the previous parts of the series 2.  From the main ribbon button, choose the Save As menu option.  The...
Writing a Simple TFS Report–Part 3: Adding the Final Touches
In the last post of this series, we created a report that visually displayed the data we extracted from the TFS 2010 warehouse.  In this post, we’ll add some additional enhancements to the report in order to increase its effectiveness .  As you recall, we want our report to look like this: While right now our report looks like this: This means we need to add the following enhancements: 1.  Change the report’s title and fields 2.  Make sure that cells which have a reason of Fixed...
Writing a Simple TFS Report – Part 2: Creating the Report
Welcome back!  In the last part of this series we discussed the actual query needed to extract the data from the TFS relational data warehouse.  In this post, we’ll see how to use this query in order to create an actual report .    Choosing a Report Authoring Tool In order to actually produce our report we need a report authoring tool.  This tool should allow us to design our report in a WYSIWYG manner and specify the query for getting the data.  We would normally choose...
Writing A Simple TFS Report – Part 1: Getting the Data
In the last post we saw the final result of what we’re aiming for – the Bug’s Life report . In this post, we’ll start working on the report by actually extracting the data . The TFS Reporting Data Sources TFS supplies us with two different data sources for reporting needs: The data warehouse – A relational data store that is designed using a snowflake schema and is named Tfs_Warehouse. By default, this database is updated within 30 minutes of an anything ‘interesting’ happening in TFS. We query this...
“IBuildDetail not defined” error in TFS 2010 Build Templates
Recently I started receiving the following error when trying to edit TFS 2010 build templates on my machine: Type ‘IBuildDetail’ is not defined This was exceptionally weird as TFS was running happily for quite a while. Turns out the culprit was the Developer Preview edition of Visual Studio 11 that I installed alongside the existing VS2010. Anyway, in order to solve the problem: 1. Open your build template (the .xaml file) in code mode. (From the Source Explorer, right-click the file, choose ‘View...
Writing A Simple TFS Report– Part 0: Introduction
In this series of blog posts, I will show how to write a simple report that makes use of the integrated business intelligence (BI) capabilities that are available in TFS 2010. If you’re unfamiliar with how to use this great feature, this series is for you! This first post will describe the final “product'” we’d like to construct. What We’re Aiming For Our end result for this series is the aptly-named Bug’s Life report : For each specific bug ID, the report shows us the various states that the...
Introduction to TFS 2010 Training Kit is Released!
This morning we received some good news: Microsoft has released the TFS 2010 training kit that Assaf and I co-authored. Happy days! You’ve probably heard of TFS and in particular of TFS 2010, the latest released version. It’s a powerful tool packed with features – but where do you begin? The Training Kit is designed to help you understand what TFS 2010 can do for your organization and software process. It applies to all members of the team – developers, testers, business people and of course, managers...
Our Talk at Sela DevDays–ALM Best Practices with TFS 2010
Today Assaf and I gave the talk above in front of ~20 people.  People were quite receptive – and I believe we got them to understand not only how you do things in TFS 2010, but also why.  Some of the things we talked about: What are work items and how to use them (including customizations and links) How to properly build a branching plan Where and how to apply automated builds and CI Unfortunately, we didn’t have enough time to cover TFS 2010 reports in detail – which means another talk...
Retrieving Unit Test Results for Builds in TFS 2010
Have you ever wanted to use the TFS 2010 data warehouse for retrieving the unit test pass/fail count for a specific build?  Maybe you wanted a report showing the number of unit tests that ran during each nightly build last week.  In any case, if you wanted this or something similar, you soon found out an interesting fact – picking out only unit tests from the warehouse is not trivial.  Here is the query for doing this: SELECT BuildName AS 'Build',   COALESCE([Passed],0...
Back in Business – With a Twist!
Wow, it’s been a almost a year since I last posted…  Lots of things have happened in that time!  In particular, I’ve changed positions inside of Sela, from development consulting to ALM.  This means that I get to work alongside such talented people as Shai Raiten , Assaf Stone , Baruch Frei and Oshry Horn . As a developer, I’ve always been one of those people who was interested in the means just as much as in the end product – I can’t remember how many times I've talked about unit...
Posted: May 28 2011, 08:17 PM by yuvmaz | with no comments
תגים:, , ,