How to create and run Compact Framework unit tests with VS2008 and TestDriven.NET

Unlike VS2005, where you didn't have a unit testing framework for the .NET Compact Framework (and that's the reason why we had to create one for the Mobile Client Software Factory), VS2008 (Team System Test or Suite editions) comes with the same test framework you probably use for desktop applications.

Rather than trying to emulate another great post on how to get the first test running on the emulator or device, just go ahead and read Device Unit Testing using Visual Studio 2008 Team System.

One thing I'll add is that if you get the following exception on first run:...

Read full article

No Comments