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

冷暖自知 提交于 2019-12-23 17:11:28

问题


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?


回答1:


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



来源:https://stackoverflow.com/questions/684583/what-is-the-best-way-to-unit-test-a-windows-ce-net-cf-app

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!