One of the common problems with unit testing is the dependency of the SUT (systems under test) with other items/modules. So the common approach is to mock/fake this dependency. There are several frameworks that do this mocking, TypeMock, Moq, Rhinomock as some popular ones. But sometime these dependencies can be done by simple method overload [...]
Read the rest of this entry »
The days of NDoc are over (in my opinion)! But in fairness to NDoc, this is really a great tool for generating documentation for .Net Projects ever since the SandCastle was not yet born. Today I’d downloaded this tool from Codeplex and start working on it. Good thing there is a GUI available so I [...]
Read the rest of this entry »
Are you tired of creating Nant task using the plain old NotePad, or maybe you’re using the Visual Studio for editing the XML for NAnt, here comes the NantBuilder. NAntBuilder is a full-featured Integrated Development Environment (IDE) for NAnt, the popular process-automating tool. It is designed to be a powerful NAnt script creator, editor, and [...]
Read the rest of this entry »
Fitnesse is a great tool, a fully integrated standalone wiki, and acceptance testing framework and we used this on BlastSuites projects development. During test codes/scripts creation we may encounter runtime errors that are very hard to determine/check unless we use the Visual Studio debug. Below are the sample acceptance test pages using Fitnesse and C# [...]
Read the rest of this entry »
Sometime your plain old notepad is so annoying that it just give you confusion when editing, especially when you are editing xml files (web.config, nant build files, xml configuration file, etc). The only biggest thumb up for me for notepad that’s why I continue using it is it loads fast. That was the time when [...]
Read the rest of this entry »
What if you can make a dynamic CSS, include some operations (add, subtract, multiply, divide), create CSS variables, mix properties of the CSS class, and create a more compact nested CSS. That can be done by “.less” (pronounced dot-less), a .NET port of the funky ruby LESS library. We are trying/planning to implement this on [...]
Read the rest of this entry »
This article provides a possible solution to fix the following exception: System.Security.Cryptography.CryptographicException – Keyset does not exist or Access is denied. I experienced this when I’m working with the Windows Identity Foundation. I am doing a research for single sign-on, federated identification that will be implemented on BlastSuites project QuickSaas. Message: Keyset does not exist [...]
Read the rest of this entry »
Here are the steps in running the Fitnesse Tests from the command line Make sure you have Fitnesse and its running Use this command line Basic running of Fitnesse test using command line java -cp fitnesse.jar fitnesse.runner.TestRunner localhost 8091 BlastSuitesOsam –v localhost – the running fitnesse server 8091 – [...]
Read the rest of this entry »
A radical new day has dawned for the operating system. Today Google finally aired its long awaited Chrome Operating System. The operating system was detailed at a press conference starting at 1 p.m. EST, and the open source code was posted online just before the start of the presentation. The new operating system brings a [...]
Read the rest of this entry »
If for some reason you want to log-in multiple accounts to your favorite messenger YM, you can do it in a simple registry hack. Click Start Menu à Run Type regedit and press enter Navigate to the following registry branch (HKEY_CURRENT_USER\Software\yahoo\pager\Test) Then on the right pane, right click on the registry editor and select “New” [...]
Read the rest of this entry »