In the last a few of our customers have reported a strange issue: Exception is thrown while running tests using…
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 more