Up Extend code samples
DevForce 2010 Resource Center » Code samples » Extend code samples » Code sample: Unit testing with the Fake store

Code sample: Unit testing with the Fake store

Last modified on August 15, 2012 17:21

A sample showing use of faking in unit tests.


Problem

You'd like to learn more about how to use the Fake CompositionContext for unit testing.

Solution

The sample shows how to populate the Fake store with test data, and how to perform queries and saves using standard DevForce features.

IdeaBlade.TestFramework

You'll notice a supporting project in the solution called IdeaBlade.TestFramework.Desktop.  This contains the source code for the open source test framework under development.  The source code is licensed under the MIT open source license.  The test framework helps in writing unit tests targeting both the desktop and Silverlight applications.  This source code is provided "as is".

IdeaBlade.Extensions

Another supporting project whose source code is licensed under the MIT open source license.  The extensions are used by the test framework to provide a more fluent API.  This source code is provided "as is".

Created by DevForce on May 06, 2011 13:53

This wiki is licensed under a Creative Commons 2.0 license. XWiki Enterprise 3.2 - Documentation. Copyright © 2015 IdeaBlade