In the last post, I simulated an asynchronous call to WCF, by setting custom code behavior on the Begin and…
Read moreFaking Async Calls in WCF – Part I
Once upon a time, I wrote about writing tests for WCF servers and clients. WCF can be invoked also in…
Read moreUsing CThru to Fake Entire Assemblies
In our forums, Soon Hui Ngu asked if there’s a way to fake recursively entire assemblies, without too much hustle….
Read more7 Phases of Unit Testing – I Did It My Way
Karl Seguin blogged a short nice post on the "7 phases of unit testing". I’ll take the jump and see…
Read moreThe First Unit Test – Arrange-Act-Assert
I’ve written before about the process of writing the first unit test. I want to give an example of how…
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 moreIan Cartwright: “Test code is just code”
A great post from Ian Cartwright, on how to treat test code. You’ve probably guessed it, it’s not different than…
Read moreWhat’s More Important Than TDD?
Another post from Paul Bourdeaux, this time on the bias you have from knowing how the code works, and how…
Read morePeople Believe Our Code Should Work!
Paul Bourdeaux wrote about “Top 5 excuses for not doing unit tests“, something I hear all the time. Paul makes…
Read moreWriting Shorter Tests – Don’t Build the Tree
Richard Fennel of Black Marble wrote a great post about using Isolator for faking Workflow Foundation with SharePoint. It’s a…
Read more