In Typemock we use both NUnit and MSTest to run our unit tests. This practice enables us to check that Isolator works fine on both unit testing framework. Most of NUnit attributes can be translated fully into MSTest attributes (and vise-versa) there is one attribute we tend to use that works differently in MSTest - … Continue reading Checking expected exception message when using MS Test
Author: Dror Helper
How to use a printer from windows7 when you don’t have the needed device driver
At office we have a Xerox printer that don’t have a driver for windows7 (yet?), but I still manage to print from it without any hassle. How – simply by using the incredible XP Mode. The bane of the last two windows OS (Vista and Win7) was lack of driver support, although win7 has better … Continue reading How to use a printer from windows7 when you don’t have the needed device driver
XmlWriter that automatically close elements using IDisposable
System.Xml.XmlWriter provides an easy and lightweight way to write xml strings, unfortunately it has a little gotcha. consider the following xml string (borrowed from IronPython in Action): Using XmlWriter the following code is needed to create that string: Keep in mind the fact that the code above only creates 5 lines of xml, and as … Continue reading XmlWriter that automatically close elements using IDisposable
Learn to write better code
If you don't make mistakes, you're not working on hard enough problems. And that's a big mistake. ~F. Wikzek It was when I found out I could make mistakes that I knew I was on to something. ~Ornette Coleman While one person hesitates because he feels inferior, the other is busy making mistakes and becoming … Continue reading Learn to write better code
Refactor! – a free C++ refactoring tool
When I write .NET code I have Resharper to increase my productivity and help me generate and refactor code. I miss such a tool when I program in C++, I knew such tools exist but because I spend more time writing managed code I don’t want to purchase them. It seems that in C++ where … Continue reading Refactor! – a free C++ refactoring tool
Getting started with IronPython – Part 4: MiniMax algorithm
After learning the basics of IronPython programming in the previous posts you’re ready for the fourth post – where I’m going to add simple AI logic to the Mancala game. Previous Posts: Part 1 – Where to start Part 2 – Let’s write some code Part 3 - Unit testing As part of my quest … Continue reading Getting started with IronPython – Part 4: MiniMax algorithm
What to do when DebugBreak won’t let me debug on windows7/Vista
A curious problem that I had today at work: I’m working on a component that suppose to run as another “service”. Because of the environment limitations I could not just debug using visual studio (F5) and had to set my debug points manually using __debugbreak. I recently installed Windows 7 and so far I enjoy … Continue reading What to do when DebugBreak won’t let me debug on windows7/Vista
Developer GTD
A software developer job is not easy, we’re expected to be self learners, take initiative and multi-task. So much needs to be done that it you might be overwhelmed by the amount of things needs to be done in a single day: send a patch to a customer, setup a meeting, ask a fellow developer … Continue reading Developer GTD
How to write a simple DXCore plug-in
DevExpress the creator of Refactor and CodeRush two great visual studio productivity tools provide a free library called DXCore that can be used to create rich plug-ins that can extend visual studio the same way their commercial products do. Until visual studio 2010 will be widely developers can use DXCore to extend visual studio and … Continue reading How to write a simple DXCore plug-in
First Israeli Alt.Net.Beers
If you’re in Tel Aviv this Sunday (14/06) come to Leo Blooms (map) for drinks and more. Either sign for the event in facebook or just drop by And don’t forget to toast Ariel for proposing this meeting.