Netbeans 6.8 上的功能测试
虽然不是 torrent,但可以在网上找到一些有关功能测试的文章(特别是 http:// /blogs.oracle.com/geertjan/entry/gui_testing_on_the_netbeans)。然而,他们提到的工具似乎没有得到维护,或者没有与最新版本的 Netbeans (6.8) 配合使用的插件。
你们有 GUI 的功能测试设置吗?您对开发流程的集成程度如何(IDE 集成、ant 等)。
额外的好处是,Netbeans 不仅是 IDE,而且 GUI 应用程序也是为 Netbeans 6.8 平台开发的(所以我主要对 GUI 测试 NB 平台应用程序感兴趣,但一般来说任何 Swing 应用程序的提示也会有所帮助) )。
While not a torrent, but some articles can be found on the net about function testing (particularly http://blogs.oracle.com/geertjan/entry/gui_testing_on_the_netbeans). However the tools mentioned by them do not seem to be maintained, or don't have a plugin working with the most recent version of Netbeans (6.8).
Do you have any function test setup for GUI? What is your level of integration into the development process (IDE integration, ant, etc).
Additional candy is that Netbeans is not only the IDE, but the GUI app is also developed for Netbeans 6.8 Platform (so I'm mainly interested in GUI testing NB-platform apps, but tips for any Swing apps in general would be a help too).
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
NetBeans 开发人员进行了大量的功能测试,并且该测试作为 NetBeans 模块项目的一部分得到支持。
我使用的具有功能测试的模块之一位于: http://hg.netbeans.org/web-main/file/tip/j2ee.sun.appsrv81
如果创建nbm模块项目,默认没有定义功能测试,所以需要创建文件资源管理器上的一些目录等“手动”:
test/qa-function/src
初始测试
这是一个简单的测试来帮助您入门。
这些事情就位后,您应该能够执行以下操作:
切换到文件资源管理器(如果您
还没有)
右键单击节点
build.xml 文件
选择运行目标->高级...
物品。将打开一个对话框。
从以下位置选择测试-qa-功能
组合框输入字段标记为“选择”
要运行的目标:'
按“运行”按钮关闭
对话框并执行测试。
一旦运行了最小的测试用例,您就可以开始检查为 NetBeans IDE 编写的 qa 功能测试以了解更多信息。
The NetBeans developers do a lot of functional testing and that testing is supported as part of the NetBeans module project.
One of the modules that I work with that has functional tests is here: http://hg.netbeans.org/web-main/file/tip/j2ee.sun.appsrv81
If you create an nbm module project, there are not functional tests defined by default, so you need to create some directories and the like 'by hand' on the Files explorer:
test/qa-functional/src
an initial test
This is a minimal test to get you started.
After these things are in place, you should be able to do the following:
Switch to the Files explorer (if you
aren't there already)
Right click on the node for the
build.xml file
Select the Run Target->Advanced...
item. A dialog will open.
Select test-qa-functional from the
combobox entry field labeled 'Select
targets to run:'
Press the Run button to dismiss the
dialog and execute the test.
Once you get the minimal test case running, you can start to examine the qa-functional test that have been written for the NetBeans IDE to learn more.