Team Build 2010 Beta 1 Log File

יום רביעי, יולי 1, 2009

This morning when I worked with the Team Build 2010 Beta 1 I found a very nice surprise. I work a lot with the Team Build and when I have a problem with the build I go to the log file, some of you that have encountered this “Monster” log file know that it is a “killer” for the eyeballs, it is a very long notepad file that lists all the steps made by the build engine and all the errors it has encountered. You can see very short example of such a log at the end of this post. So what...
אין תגובות

What Is A Good Build Machine?

יום שלישי, יוני 30, 2009

When I come to work with customers on builds first I ask where the build machine is. Most chances that I will get one of the following three answers: It is on my Team System server. It is on my computer. It is on one of the developers computer. All three situations are wrong when it comes to build machines. What is a good build machine and where to install it? My opinion is to put it on a “clean” computer that has no more then the minimum that is required for the compilation of the application and for running all the required...
תגיות: , ,
אין תגובות

WMI Scripts For Changing Physical Path Of IIS Virtual Directory

יום רביעי, יוני 17, 2009

A customer asked me to write him a script that will set physical directories for his IIS virtual directories. What was the motivation for that? The customer worked with none dynamic URLs. The customer started to work with SCM (Software Configuration management) plan. Part of the SCM plan is a way to manage versions. The customer is working with source control as a result he gets to situations where developers works on different versions simultaneously. In simple words you get to a situation where you work on the same web project from different locations on your hard drive. The problem is that you can have only...
אין תגובות

How To Get A File History In TFS Source Control Using Code

יום ראשון, יוני 14, 2009

A project I am doing these days requires me to get file history changesets using the API. Sounds like a simple task right? Apparently there is not a lot of reference to that in Google, so after almost throwing my computer out of the window (More than once I most admit) I found the answer. Add the following references to your using list:using Microsoft.TeamFoundation.Client; using Microsoft.TeamFoundation.VersionControl.Client;using System.Collections;using System.Windows.Forms; The example function is very simple it gets a change and shows message boxes of all the changesets that have a change for the specified file up to the change transferred to the method. Note:...

When To Stop Testing An Application?

יום ראשון, יוני 7, 2009

I have seen many answers to this question, all talking about matrixes, what should I test, How should I test etc. Not many answers to this question talked about the overall process of development, the bigger picture… The testing process is part of much bigger picture of development that involves the developers, testers, managers, stockholders, marketing and more. Lets start with what stops the development in general, that will be the time to market of course, no product no matter how good it is will worth anything if it wont be sold. When we come to manage a project we slice the time...

How To Manage A Project When Politics Involved

יום חמישי, יוני 4, 2009

There where times when I believed that managing a good project involves only pure professionalism, but with time I found out that a good project manager should also have high social skills as well in order to be a good project manager or in that case a good manager in general. Lets say that you need to deliver a project but the expected result varies depends on the stakeholder you ask, what would you do than? This is a very difficult situation when you are about to fail no matter what the results of the project will be. My advice for you...
אין תגובות

Bugs Life – How To Manage Bugs Part 2

יום רביעי, מאי 6, 2009

We have seen that our little bug was caught and documented on the last Bugs Life post, if you didn’t read that yet you can read it here. “Dear diary, Today I have got my verdict,  Obama the Project Manager has decided to “Fix” me. They say that it will be expansive to “fix” me but it will cost more to leave me unfixed, they say that this part of the software is not a critical part but still will be used by part of the customers and loosing there trust will cost more than the “fix” cost. Dennis the programmer said that...
תגובה אחת

Bugs Life – How To Manage Bugs Part 1

יום שלישי, אפריל 28, 2009

I have recently posted about bugs in: Are All Bugs Should Be Fixed? there I promised to post about how to manage bugs. How to manage bugs is a little boring subject so I will try to explain it in a different way. I will quote from a bug’s diary in the “Bugs Life” posts so we can understand what happens from a “bug’s perspective”, I will add my own explanations to it so we can understand the process. I hope you will like it, lets start… This diary has been written in what our bug describes as “Jail” which is what we...
אין תגובות

How To Create A Custom Extraction Rule In Team System Web Test

יום שני, אפריל 20, 2009

There are times when you need to write your own extraction rule, it is very simple to do that just follow these steps: Step 1: Create a new project, make it a “Class Library” type. Step 2: Add a reference to: Microsoft.VisualStudio.QualityTools.WebTestFramework.dll located in “Program Files\Microsoft Visual Studio 9.0\Common7\IDE\PublicAssemblies\”. Step 3: Add the following using: using Microsoft.VisualStudio.TestTools.WebTesting; using Microsoft.VisualStudio.TestTools.WebTesting.Rules; using System.ComponentModel; Note: The last using is not related to the Team System but it will let us the use of attributes in order to make the implementation simple. Step 4: Next step is to add the following: namespace CustomExtraction {         [Description("Rule...

How “Get Latest Version” Really Works in TFS Source Control?

יום שני, אפריל 13, 2009

Many people using the Source Control of the Team System don’t really understand how do Get Latest Version works. Customers calls me in the middle of the night telling me that they have lost files and lost changes, after the shuck is over I ask them what they did, they tell me: “I did Get Latest Version and I don’t see the files or the changes”. Because that I am tired of getting to customers in the middle of the night I decided to write this post explaining how does it work. Lets start with that the Get Latest Version is not...
3 תגובות