Browse by Tags

16 februari 2009
Mocking objects that change arguments
Most mocking framework know how to mock an interface or (abstract) class and fake the method calls that are performed on these mocks. However, hardly any of them can do anything other than provide a return value when the mock method is called. This poses a serious problem when ref or out parameters are... Read More...
Filed under:
09 januari 2007
Bitslapping contest : LX vs Compile on Test integration in VS2005
Round 3: LX on offense, compile still recovering See the previous rounds ( 1a , 1b , 2a , 2b ) in this bitslap. Dennis is pretty harsh on not giving me any points for great punches. The way he talks he can sell a refrigerator to an eskimo. 1. One stop shop VS2005 offers you a single GUI to work from... Read More...
15 december 2006
WebDev.WebServer for easy website hosting
Visual Studio 2005 Websites and Web Application projects use the ASP.NET Development Server as a light-weight web server to host the websites. Pretty easy, but sometimes you need to host one or more websites and don't feel like starting a full-blown VS2005 instance just for that. And adding a Web Share... Read More...
11 november 2006
Bitslapping contest: LX vs compile on Test integration in VS2005 part 2
Round 2: LX offense, compile defending Continuing the bitslap on unit test integration between Dennis and myself. Time to counter the first round . Ready, set, go. VS2005 comes with three frameworks for testing: Unit testing (in assembly Microsoft.VisualStudio.QualityTools.UnitTestFramework) Web testing... Read More...
08 november 2006
Bitslapping contest: LX vs compile on Test integration in VS2005
Round 1: compile offense, LX defending Colleague Dennis (irl, compile in CS and WoW ) tries to give a few punches . He thinks that NUnit is a better testing framework than the one supplied by VS2005 (Team Edition for Developers, Testers and the Team Suite) I can’t do in VS2005 what he can with... Read More...
18 januari 2006
Array casting weirdness
The .NET runtime is type-safe. Sometimes compilers perform magic for us, that make us think that one type is substitutable for another. VB.NET is such an example. The VB compiler will cast and convert for you automatically if possible. You can turn this behavior off by specifying Option Strict On. A... Read More...