04 March 2008

Redirecting the copy of output assemblies for individual solutions

I search the net for a while for this problem:
We using tfs build to perform a daily build.
The following tasks are performed in the build:

  1. Run all tests

  2. Update assembly info




The solution contains the following elements:

  • Web services

  • Client application

  • three windows services




So the solution contains 5 applications. What I was looking for is a way to use the tfsbuild to perform a build and as output to spit the binaries to seperated directories. That helps a lot with deployment.

The core of the problem is that i want to have a single build type in tfs with multiple solutions and multiple output directories. A feature that tfsbuild not support.

And finally I found a post that solves this problem.
Manish Agarwal write a post: Redirecting the copy of output assemblies for individual solutions to specified subfolders at drop site in Team Build.

I implemented it in my build and it solves my problem...

29 January 2008

Object Mothers

When you are writing unit tests for a system, you need often a lot of test data. The creation of the data takes place in the test fixture. If I want to test the handling of a order then I need to create a customer, products, categories, shipping and so on. That is test data only for a order. But you want also test customer. And Product. For those classes you also need test data. Why don't reuse the test data of order. Well this paper about object mothers is very interesting. And we use it in your project.
And this book about unit testing, xunit patterns is a recommendation.

21 January 2008

Patterns And Software factories.

Software factories and patterns. Dayly I get confrontated with them.
We developing a application according to the Web service software factory.



But now I found The EFx Architectural-Guidance Software Factory


 
That is also a very interesting factory. And as a client we desided not to use Smart Client Software Factory because of code maintenance and learning curve. But still it is very interesting...


And all those facories uses a lot of patterns.

20 January 2008

Silicon valley

Well, where is Silicon valley? Yes I know near San Fransico. But this picture is nice.

And what about this...
Grotere kaart weergeven

15 January 2008

some articles about silverlight and WPF


 Where do i find the time to look at silverlight and wpf.
I want to play with it not only read about it. Look at these articles about silverlight.
examples about wpf can be found here.

10 January 2008

.Net and Oracle

The policy at Corus is that as a database, use Oracle. So to connect to the database with .net we don't use the .NET Framework Data Provider for Oracle but the Oracle Data Provider for .Net, ODP.NET. Because there is a lot of maintenance going on, the question I get is, ODP.Net does it contain a Oracle client? This article gives answers to a lot of the questions.

09 January 2008

Specification pattern

The last couple of days I'm learning a lot about the specification pattern. These links can helped me to understand and implement the pattern.


  • The specification pattern by Martin fowler.
  • An example of the specification pattern by Jeff Perrin.
  • An implementation of the specification pattern by Tim McCarthy.
  • Validation In The Domain Layer - Take One and Validation In The Domain Layer - Take Twoby Jean-Paul S. Boodhoo.

    This is our solution so far.
  •