Loading .config files in NUnit

Last week I gave a presentation at Microsoft DevDays 2004 in Lisbon on Test-Driven Development. A day later I got this interesting question: “(…) if I’m testing a DLL assembly that uses a .config file to read in data, when I run the tests, NUnit loads it’s own .config file and all my tests fail….

8

Unit Testing User Interfaces (Updated!)

Usually one of the major difficulties a developer faces when writing unit tests is how to write test code for User Interfaces. This is particularly important when we’re doing Test-Driven Development. The Visual Studio .NET IDE makes it difficult to unit test Windows Forms applications, because if we want to keep the test code decoupled from the…

7

WiX: Managed Custom Actions

I’ve added WiX to my build process to automate the production of windows installer packages for my product. I’m not very proficient with Windows Installer technology, so I thought I might get by with what I’ve seen is already a “traditional” approach: dark an MSI created by a Visual Studio Setup Project. Well, I knew…

4

Unit testing session

During TechEd’04 in Amsterdam I attended a Birds Of a Feather session on how to integrate unit testing into the Software Development Life-Cycle. For those who are unfamiliar with the format of these sessions, it’s a speaker moderated discussion, where we can ask questions and have them answered and commented by the speaker and other…

3

Economics of Agile Software Development

Dr. Laurie Williams has been a long-time researcher on Agile methods and their impact on software engineering. She and her students have published a number of very interesting papers on varied subjects, particularly on the economics of agile practices, like Test Driven Development (TDD) or Pair Programming. You can find a list of publications here.

1

Synching TFS with other Source Control systems

Many of us in the field have come across heterogeneous source control environments within the same organization. Some organizations, having multiple source control systems, wish to have some way of synchronizing TFS with their other systems. I’ve seen this when development teams who are used to the Microsoft development tools tend to prefer Team Foundation…

1

Application Architecture Guide 2.0

The Patterns & Practices team is finally going to update their fantastic Application Architecture Guide. Since it’s release in 2002 this guide has been a favorite of mine. It’s somewhat dated but it contains sound design principles that stand the test of time. Now the team is working on V2, which is planned for the…

1

Right-Brain Thinking In Software Development

I absolutely love software development. And what I love the most in software development is it’s creative aspect. I believe there is not one developer in the world who hasn’t yet experienced, at least once, an “eureka” moment. You know, those insights that you get after hours or days spent thinking about a problem or…

1

Creating a Customized Guidance Repository

As a consultant part of my job is to provide guidance to our customers on the best way to use our technology, namely in terms of application development practices. Over time, you start to better understand the type of customer you’re working with, what works, what doesn’t and you start to optimize your own delivery…

1

Entrepreneurs: How to get started

Guy Kawasaki is a venture capitalist and one of the greatest public speakers in our industry. From his experience as a venture capitalist Guy’s written a very interesting post advising young entrepreneurs on how best to start their software company. So, if you’re planning on starting up your own company, here’s a piece of advice…

1