什么是单元测试的Windows CE / .NET CF应用程序的最佳方式? [英] What is the best way to unit test a Windows CE / .NET CF app?

查看:164
本文介绍了什么是单元测试的Windows CE / .NET CF应用程序的最佳方式?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要编写单元测试在Windows CE .NET Compact Framework的3.5上运行的应用程序。理想情况下,我想他们部署和设备上运行他们,而不是模仿真正的测试,但它是否也可以在本地的Visual Studio的速度运行将是巨大的。我主要是写控制台应用程序并不在乎一个漂亮的GUI,但它会很高兴。

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.

我试过csUnit,但它不属于零件库有依赖性CF和我的设备没有足够的空间让他们无论如何。

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?

推荐答案

如果您有Visual Studio团队系统2008年测试版或团队套件,您可以使用内置设备单元测试。

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

演练:创建和运行智能设备单元测试

单元测试的.Net Compact Framework应用程序与Visual Studio 2008

这篇关于什么是单元测试的Windows CE / .NET CF应用程序的最佳方式?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆