NHibernate mapping possibilities

NHibernate mapping possibilities

I prepare currently a new talk about NHibernate. In this talk I’ll show the different mapping possibilities with NHibernate. To demonstrate the three possibilities (and a fourth one) I chose a quite simple model: I implement three classes Cat, Dog and Bird an for each one I chose a different mapping approach. For my little sample application I used NHibernate 2.1.0, NHibernate.Mapping.Attributes 2.1.0 and Fluent NHibernate 1.0.0.545. NHibernate classic style – XML-Files For the class Cat I chose to use…

Read More Read More

Reason of silence

Reason of silence

Why is there no blog entry for the July and for the half of august? Well, the answer is, that my current project where I’m the project manager and and also the leader of a team of software engineers, comes to an end. Currently we implement the last features like reports (reports are very important for transparency and let the customer gain trust in your/his application) or a batch process. Also the data migration and the reports about the migrated…

Read More Read More

From NUnit to MSTest

From NUnit to MSTest

Last week I migrated several projects from NUnit to MSTest. The developers use the Developer version of Microsoft Visual Studio Team System, so they have integrated unit-test support for MSTest. In this post I show you all the problems and work I had to migrate the tests from NUnit to MSTest. Less assert-methods in MSTest In NUnit you have comparison assert methods, exception asserts, more type asserts, more utility asserts and so on (you see what I mean). There already…

Read More Read More

VB-stereotype: Are there programmers who fit any more?

VB-stereotype: Are there programmers who fit any more?

I saw recently the talk “Comparing Java Web Framworks” on Parleys.com and when the speaker talks about JSF, he used the word “VB”. I was a little bit surprised, that also in the java world the VB-stereotype is known. But what about is this VB-stereotype? Are there programmers who fit any more this stereotype? Commonly the stereotype is used for people who don’t know a lot about software developing or engineering and produce really bad code. Whe I use this…

Read More Read More

How to structure code in an unit test

How to structure code in an unit test

When you create your unit tests for a method in the SUT (software under test) you will ask yourself how to structure the code in the test method.I saw two kind of syntaxes which help to structure the code in a unit test method (well, actually there are at least three, but the third syntax is just chaos, so this is definitely not the way how to do it). SEVT-Syntax [code language=”csharp”] [TestFixture] public class ThingTest { [Test] public void…

Read More Read More