简体   繁体   中英

What is the best way to unit test a Windows CE / .NET CF app?

I want to write unit tests for an app running on Windows CE .NET Compact Framework 3.5. Ideally I'd like to deploy them and run them on the device rather than emulated for true testing but if it could also run locally in Visual Studio for speed that would be great. I am mostly writing console apps and don't care about a nice gui but it would be nice.

I tried csUnit but it had dependencies on libraries that aren't part of CF and my device didn't have room for them anyway.

Has anyone had found a quick simply test framework they'd recommend?

If you have Visual Studio Team System 2008 with Test Edition or Team Suite, you can use the built-in device unit testing.

Walkthrough: Creating and Running a Smart Device Unit Test

Unit testing .Net Compact Framework applications with Visual Studio 2008

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM