什么是基于Swing的应用程序的最佳测试工具? [英] What is the best testing tool for Swing-based applications?

查看:105
本文介绍了什么是基于Swing的应用程序的最佳测试工具?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

虽然我们尝试在时间允许的情况下设置尽可能多的单元测试,但我总是发现缺少UI级别的测试。有很多选择,但我不确定什么是一个好的开始。

While we try to set up as many unit tests as time allows for our applications, I always find the amount of UI-level tests lacking. There are many options out there, but I'm not sure what would be a good place to start.

您测试Swing应用程序的首选单元测试工具是什么?为什么你喜欢它?

What is your preferred unit testing tool for testing Swing applications? Why do you like it?

推荐答案

在我们这边,我们用 FEST 。这是经典摇摆机器人的适配器,但它大大简化了它的使用。

On our side, we use to test SWING GUI with FEST. This is an adapter on the classical swing robot, but it ease dramatically its use.

结合TestNG,我们发现通过GUI模拟人行为是一种简单的方法。

Combined with TestNG, We found it an easy way to simulate "human" actions trough the GUI.

这篇关于什么是基于Swing的应用程序的最佳测试工具?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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