Recently I had the pleasure to meet two developers with very different “styles” of software development. The first have never heard of SCRUM and never practiced any of the agile methodologies while the second is a certified SCRUM master and has used SCRUM to manage his team. Both were given a problem to solve in … Continue reading Essence of agile
Author: Dror Helper
Enabling parameterized tests in MSTest using PostSharp
I have blogged about the shortcoming of Microsoft’s unit testing framework in the past. It has very good Visual Studio (and TYFS) integration out of the box but it seems that in order to use it I have to suffer lack of functionality I’m used to taking for granted when using any other .NET unit … Continue reading Enabling parameterized tests in MSTest using PostSharp
9 years ago…
August 2002 I’ve started my first “real” programming job, I was an intern at Intel working side by side with intelligent and talented engineers on a performance monitoring tool for Linux. A lot has happened since, I switched a few jobs, sometimes I worked for big enterprise and sometime for a small startup until I … Continue reading 9 years ago…
Supercharge Isolate.Verify
At work we use Typemock Isolator for all of our Isolation/Mocking needs. Lately I’ve noticed that my co-workers do not like to use verify. One of the reasons they prefer not to use it is that sometime Verify error messages leave much to be desired. There are a few simple tricks that helps Isolator help … Continue reading Supercharge Isolate.Verify
Three Day TDD .NET Course (Israel)
A new practitioner of TDD and unit tests has much to learn: how to what are acceptance tests? how to write tests that won’t break on every trivial change? what mock objects and why should you care? How do I test my product code? So if you’re looking for a place to learn all those … Continue reading Three Day TDD .NET Course (Israel)
How to return default(Type) in runtime – a TDD example in four unit tests
I’ve found this question while going over my old StackOverflow answers:I'm using reflection to loop through a Type's properties and set certain types to their default. Now, I could do a switch on the type and set the default(Type) explicitly, but I'd rather do it in one line. Is there a programmatic equivalent of default?I … Continue reading How to return default(Type) in runtime – a TDD example in four unit tests
RTFM–the tale of ReaderWriterLockSlim
The .NET BCL (Base Class Library) is readable, easy to understand and not less important documented. This is a story on where a simple reading of documentation could have saved us from a minor bug… If you’ve been using .NET you might be familiar with the ReaderWriterLock essentially a lock that enable multiple readers or … Continue reading RTFM–the tale of ReaderWriterLockSlim
Using null-coalescing to find item in multiple collections
A co-worker showed me this:var result = collection1.GetObjectByAtSpecialLocation(location) ?? collection1.GetObjectByAtLocation(parent, location) ?? collection2.GetObjectByAtSpecialLocation(location) ?? collection2.GetObjectByAtLocation(parent, location);I’m still trying to decide whether it’s a good practice and if it’s readable or not…In case you’re not familiar with ?? operator a.k.a null-coalescing operator it’s basically returns a default value if the left side is null so the … Continue reading Using null-coalescing to find item in multiple collections
The 7 levels of continuous integration
I’ve noticed that when other developers talk about “continuous integration” they do not always mean the same thing. The following is an outline of the seven stages of continuous integration based solely on my own experience:No Server, no automation - no problemsHave nightly build that run each day – at least we know that the … Continue reading The 7 levels of continuous integration
QA and Development in Agile 2011
This Thursday (May19th) I’ll take part in a Panel at the “QA and development Agile” conference.I’ve been asked to talk about unit testing, TDD, SCRUM and anything else agile – topics that you should be familiar with if you’ve been reading this blog.There would be developer and QA tracks with very interesting sessions two of … Continue reading QA and Development in Agile 2011
