BDD Android UI 测试框架?

发布于 2024-11-03 08:11:28 字数 323 浏览 8 评论 0原文

我正在考虑使用 Frank 来测试我们的 iOS 应用程序的 UI。有没有类似的支持Android的库?我目前正在使用 Robotium,但认为能够在中指定测试会很好两个平台上的格式相同。

是否可以让 JBehave 之类的东西在 Android 上运行?

I'm looking at using Frank for UI testing our iOS application(s). Is there a similar library with support for Android? I'm currently using Robotium, but thought it would be nice to be able to specify tests in the same format across both platforms.

Would it be possible to get something like JBehave to run on Android?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(7

趴在窗边数星星i 2024-11-10 08:11:28

正如 scompt.com 所说。该项目现已正式开源,名为 Calabash。

我写了一篇关于它的简短博客文章:
http://blog.lesspainful.com/2012/03/07/Calabash- Android/

Calabash 也可在 iOS 上使用,只需做一些工作和两个类似的应用程序,您就可以在 iOS 和 Android 上运行相同的功能。

您可以在这里阅读有关 Calabash 的更多一般内容:
http://blog.lesspainful.com/2012/03/07/Calabash/

As scompt.com said. The project is now officially open sourced and is called Calabash.

I wrote a short blog post about it:
http://blog.lesspainful.com/2012/03/07/Calabash-Android/

Calabash is also available on iOS and with a bit of work and two similar apps you can run the same feature on iOS and Android.

You can read more general stuff about Calabash here:
http://blog.lesspainful.com/2012/03/07/Calabash/

趁微风不噪 2024-11-10 08:11:28

来自 lesspainful.com 的人在 github。它允许您在模拟器和本地设备中对 Android 进行 Cucumber 测试。因为他们为其服务运行的代码相同,所以如果您注册,您应该能够在多个设备上测试您的功能。

The guys from lesspainful.com have open sourced some of their special sauce on github. It lets you do cucumber testing on android in the emulator and local devices. Because it's the same code that they're running for their service, you should be able to test your features on multiple devices if you sign up.

梅窗月明清似水 2024-11-10 08:11:28

你能用 Cuke4Duke 来驱动 Robotium 吗?或者使用JRuby/Cucumber来驱动Robotium?

Could you use Cuke4Duke to drive Robotium? Or use JRuby/Cucumber to drive Robotium?

森林散布 2024-11-10 08:11:28

不,robotium 是 dvm 而不是 jvm 上的 BDD,因此 jbehave 等 jvm 框架不存在驱动程序

No, robotium is a BDD on dvm not jvm thus no driver exists with jvm frameworks such as jbehave, etc

忘年祭陌 2024-11-10 08:11:28

我最近开始使用 www.LessPainful.com - 有一些限制(您不能编写自己的步骤)而且它是一家相当早期的公司,但到目前为止,测试至少证明是有用的,特别是在不同的屏幕尺寸下,而且他们已经自动化了一些好的东西,比如方向(我认为他们在真正的手机上使用电机!)。

(作为 iOS 上的参考,我们使用 Frank - https://github.com/moredip/frank- 在 WP7 上,我们编写了自己的 - https://github.com/Expensify/WindowsPhoneTestFramework)

I've recently started using www.LessPainful.com - there are some limitations (you can't write your own steps) and it's quite an early stage company, but so far the testing has at least proved useful, especially with different screen sizes, plus they've automated some good things like orientation (I think they use motors on real phones!).

(for reference on iOS we're using Frank - https://github.com/moredip/frank- and on WP7 we've written our own - https://github.com/Expensify/WindowsPhoneTestFramework)

与他有关 2024-11-10 08:11:28

我已经能够开源我在该领域的工作:

https://bitbucket.org/proxama/windows_android_cucumber_runner< /a>
https://bitbucket.org/proxama/android_cucumdroid

它允许您编写自己的功能和步骤来锻炼UI自动化器。这意味着它全部在设备上运行。

它可能并不那么容易使用,但 Windows GUI 应用程序旨在包装使其实际运行的 ANT 任务。

I've been able to open-source my work in this area:

https://bitbucket.org/proxama/windows_android_cucumber_runner
https://bitbucket.org/proxama/android_cucumdroid

It allows you to write your own features and steps to exercise the UI automator. This means it runs all on the device.

It's probably not as easy to use as it could be but the Windows gui app is designed to wrap the ANT tasks that make it actually run.

末が日狂欢 2024-11-10 08:11:28

我已经使用 MonkeyTalk 测试了我的应用程序。它可能对你有帮助。 https://www.cloudmonkeymobile.com/monkeytalk

I have tested my app using MonkeyTalk. It may help you. https://www.cloudmonkeymobile.com/monkeytalk

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文