The .NET Micro Framework (NETMF) is an open source .NET platform for resource-constrained devices. It supports development in C#, Visual Basic .NET, and debugging (in an emulator or on hardware) using Microsoft Visual Studio. In this blog post, Mark Nichols explains how to perform unit testing for the .NET Micro Framework.
He decided to create his own framework that provides him with a way to automate logic testing. The code of this tool is available on https://github.com/marknic/NetMfTestRunner. The blog post provides a step by step approach on how to perform unit tests.
Read the complete blog post on http://marknic.net/2013/07/02/automated-unit-testing-with-net-micro-framework/