Unit Testing a WCF RIA DomainService: Part 3, The DomainServiceTestHost

In this thrilling conclusion to my series on unit testing, I’ll show you how to use the DomainServiceTestHost to test your DomainServices. In parts one and two I showed you how to extract external dependencies using the IDomainServiceFactory and how to use the Repository Pattern. Now that all the groundwork is out of the way,…

14

Unit Testing a WCF RIA DomainService: Part 2, The Repository Pattern

This is part two in a series I’m writing about how to unit test your DomainServices. In part one, I discuss how you could use an IDomainServiceFactory to factor external dependencies out of your code.  Continuing along the same lines of thinking, I will use this post to discuss factoring out the database dependency as…

4

Unit Testing a WCF RIA DomainService: Part 1, The IDomainServiceFactory

I’ve always been a proponent of driving product quality through unit testing. Regardless of the specific testing methodology, I enjoy the confidence a rich suite of tests can bring to product and application development. For WCF RIA developers, I wanted to start a three-part series on how to test the business logic that resides at…

2