mocking

Isolator++ Now Supports x64 bit!

Isolator++ gets a lot of attention these days, especially since we’ve added x64 bit support. One of the feature requests we got was for an API for faking private static methods, while simulating a returned-by-reference parameter. While I ...

Read More

5 Resources to Train Your Team about Unit Testing

Want to learn more about unit testing or train your team so that they can be better unit testers? Here are some resources to get you going:  5. Mocks Aren’t Stubs & and Clean Coders ...

Read More
What would YOU DoInstead? The Sequel

What 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 you want to do something after it’s called? Let’s look again at the code under ...

Read More
What would YOU DoInstead?

What would YOU DoInstead?

I often describe DoInstead as the 10lb/kg hammer to change behavior – if all fails, and any other API doesn’t help use it. I want to give you a couple of examples on different occasions ...

Read More

How To Mock C Functions with Isolator++

Do you know the TIOBE survey? Every month it shows the usage of programming languages world wide. And coming in in first place this month is… C! That’s right. There’s so much development still being ...

Read More

Test-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 .NET framework based solutions for various international corporations. Since 2009 he is a Development Trainer ...

Read More

WCF 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 specific string. Usually this would not have been a problem using the AAA API: 1: ...

Read More

Isolator AAA: Creating Fakes

So let’s start at the beginning. And in the beginning you do this: RealLogger fake = Isolate.Fake.Instance<RealLogger>(); That’s it, you created a fake of the type RealLogger. On this fake you can set behavior and ...

Read More
TOP