In the last post, I simulated an asynchronous call to WCF, by setting custom code behavior on the Begin and…
Read moreStarting Test-driven Development using Typemock Isolator – Part 1
There are a lot of good tutorials on how to start Test driven development (TDD) that help understanding how he…
Read moreStarting Test-driven Development using Typemock Isolator – Part 1
There are a lot of good tutorials on how to start Test driven development (TDD) that help understanding how he…
Read moreFake Everything You Don’t Care About
Isn’t that what mock frameworks do? Yes. But. In order to make our tests pass, we need to isolate everything…
Read moreUnit Testing WCF with Isolator – The Server
WCF actually cries out for unit testing. How can you make sure your logic actually works without relying on a…
Read moreIsolator AAA: Setting Behavior
After we created fakes, now we can set specific behavior. As you may recall, the default behavior is set when…
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 moreIsolator AAA API – The Basics
What is AAA? NUnit and likes have been using it for years. The Arrange, Act and Assert (AAA) structure of…
Read moreTesting MVC Controllers in 3 lines of code with Typemock Isolator
Here’s a much simpler version of how you’d test an ASP.NET MVC Controller using Typemock, without needing any helper class…
Read moreChains, Part II: Chain Rules
In Part I, I described what chains are, and the challenge they pose for Isolator. As you’ve already gathered, I…
Read more