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

查看:24
本文介绍了基于 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天全站免登陆