Want to learn more about unit testing or train your team so that they can be better unit testers? Here…
Read moreWhat would YOU DoInstead? The Sequel
So last time, I showed you how to do something before a method is called. That’s nice but what if…
Read moreWhat would YOU DoInstead?
I often describe DoInstead as the 10lb/kg hammer to change behavior – if all fails, and any other API doesn’t…
Read moreHow To Mock C Functions with Isolator++
Do you know the TIOBE survey? Every month it shows the usage of programming languages worldwide. And coming in first…
Read moreTest-Driven-Development with SharePoint 2010 By Andreas Rudolf Aschauer, BSc
Andreas Aschauer studied Software Engineering at Vienna Technical University. Besides his studies he worked as a developer and consultant for…
Read moreWCF tip – How to fake a method inside WebOperationContext
One of our customers had a very interesting problem. When using he needed to set WCF’s WebOperationContext.Current.IncomingRequest.UserAgent to return a…
Read moreIsolator AAA: Creating Fakes
So let’s start at the beginning. And in the beginning you do this:
1 |
<span style="color: #000000;">RealLogger fake = Isolate.Fake.Instance<RealLogger>();</span> |
That’s it, you created a fake…
Read more