by Mikael Henriksson
5. June 2010 23:26
Today I did something brain numbing moving away from NUnit to Machine Specifications. The reason being, it’s a lot nicer from a business perspective. In this case the business is open source and free of charge but it makes more sense. The way mspec forces me to think about the test context and the...
[More]
by Mikael Henriksson
1. April 2010 15:48
This post is part of a series: Conquering NServiceBus part 1 – Getting Started Conquering NServiceBus part 2 – Initial configuration Conquering NServiceBus part 3 – A simple Saga Conquering NServiceBus part 4 – Testing Conquering NServiceBus part 5 – Troubleshooting DTC This i...
[More]
by Mikael Henriksson
13. February 2010 16:12
It is actually really simple and I have to thank my boss, DBA and friend Fridthjof for that. If you ever thought it is difficult to work with a DBA then imagine having one as your boss! *joke* He’s a great guy and as a DBA he is actually very understanding and I have been able to ...
[More]
by Mikael Henriksson
8. January 2010 12:54
Sometimes I can’t be bothered about testing the whole shebang. I just want to test what really counts without having to go through mocking external calls just to verify that something returns true.
This is probably not how one should test code but what the helicopter it works.
[Test]
publ...
[More]
by Mikael Henriksson
10. December 2009 14:11
Today I feel like the most retarded guy on planet earth. I have just wasted half a day trying to get R# to run my unit tests. The tests simply does not even start so they don’t fail either. A check of the output window shows that there is a possible chance of a FileNotFoundException whic...
[More]
by Mikael Henriksson
25. October 2009 00:34
I just had one of those frustrating moments where the unit tests on my machine works but those on the build server does not! This time I was pretty sure what the issue was. Any time that StructureMap tries to build the session factory and this fails I get strange exceptions in places that hasn&rsquo...
[More]
by Mikael Henriksson
19. September 2009 13:37
I find myself drifting more and more towards something I believe is TDD. When I start with something new I go to my test project, write a test (spec) of what I want to accomplish and then try to produce code that tries to satisfy the spec (test).
I don’t care that much about what others say a...
[More]