自动化测试框架 - Windows CE [英] Automated Test Framework - Windows CE

查看:35
本文介绍了自动化测试框架 - Windows CE的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

正在寻找一种方法来驱动在 CE 设备上运行的 Compact Framework 应用程序.我们基本上需要的是能够编写按下按钮和点击事物的小脚本.有谁知道这样的工具,还是最好自己破解一个?

Looking for a way to drive a Compact Framework app running on a CE device. All we basically need is to be able to write little scripts that press buttons and click on things. Anyone know of such a tool or it best to just hack one up ourselves?

推荐答案

不幸的是,没有好的、统一的工具(我已经找到了)用于测试 CF 应用程序.没有人提供模拟,因为 CF CLR 缺少像 Emit 这样的东西,这使得小市场很难做到这一点.

Unfortunately there are no nice, unified tools (that I've found anyway) for testing CF apps. No one provides mocking, since the CF CLR is missing things like Emit, making the taks difficult for a small market.

Microsoft 在 Studio 和 Team Foundation Server 中为智能设备应用程序提供单元测试功能,但他们不做 UI,调试测试非常痛苦,而且只是运行测试很慢,所以它们往往适合回归测试和别的不多.

Microsoft provides unit test capabilities in Studio and Team Foundation Server for smart device apps, but they don't do UI, debugging the tests is amazingly painful and just running tests is slow, so they tend to be good for regression tests and not much else.

Microsoft 在 CE 中提供了一些用于桌面驱动测试的工具和工具框架测试工具包 (CETK),包括 Alan 的 DATK暗示.他们还提供了诸如 Hopper Test Tool 之类的东西,他们将其用作他们的徽标测试.

Microsoft provides some tools and a tool framework for desktop-driven testing in the CE Test Kit (CETK), including the DATK that Alan alludes to. They also provide things like the Hopper Test Tool, which they use as part of their logo testing.

如果这些似乎都不适合您,那么这是一种设置测试的相当快速的方法,该方法仍然由 PC 驱动(我认为所有测试都应该这样做,否则运行起来会很痛苦,难以自动化,并且承担记录通过/失败数据),您可以使用 CoreCon APIs 或 远程工具框架 构建您的通信管道和测试框架.

If none of these seem to work for you, a fairly rapid way to set up testing that's still driven from the PC (which I think all testing should, else it tends to be painful to run, tough to automate, and a bear to log pass/failure data), the you can use the CoreCon APIs or the Remote Tools Framework to build your communication pipe and test framework.

我真诚地希望 VSD(设备工作室)团队对 TFS 进行测试,我们得到下一个版本的 Studio 将提供更丰富的工具集.

I sincerely hope that the VSD (Studio for Devices) team is dogfooding TFS and that we get a much richer toolset with the next release of Studio.

这篇关于自动化测试框架 - Windows CE的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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