|
|
 |
Swing Extreme Testing |
| Ebook所属类型 程序设计 |
|
Ebook文件大小 4 MB
Ebook阅读语言 简体中文
Ebook更新时间 2008-9-18 8:33:00
Ebook应用平台 WinXP/2000/2003/Vista
授权下载方式 无需注册,免费提供e书下载
Ebook下载情况
对此ebook发表评论
点击发表对此ebook的评论,并且查看其他用户对其的评论情况
|
| Swing Extreme Testing 电子书简介: |
Swing Extreme Testing Above all, this book is a practical guide to testing Java software. A number of books on Java testing have appeared in the last few years. In general, these books introduce the reader to JUnit, a commonly used test platform, and then run through some examples in which simple classes are tested. Additionally, they may introduce a few other tools for testing databases, dynamic web pages and so on. However, when it comes to testing user interfaces and other complex modules, these books draw a blank, and it is easy for the reader to get the impression that such testing is either not possible or is just too difficult to be worth the cost. We show how easy and worthwhile it is to automate these tests. Another area covered in the present work, but absent from others, is that of application-level testing, which is the proving of our software against its requirements, item-by-item. These 'function tests' as we call them, are enormously useful and reassuring when we are in customer support mode. For example, recently a customer rang us to report that blank lines in LabWizard reports are not appearing when the report is viewed in his lab's Laboratory Information System (LIS). Is this a LIS fault, or a LabWizard fault? We actually have a function test class that does the following: Starts a LabWizard server in its own JVM. Starts a client program with which a Knowledge Base is built. Adds rules such that cases receive interpretations that have blank lines. Runs a LIS simulator that sends a case for interpretation. Checks that the interpretation received by the LIS simulator contains the appropriate formatting codes for the blank lines. This test answers the question in LabWizard's favor. If we did not have this function test, we'd have to search through and understand a lot of code to respond to our customer. By providing an approach to application-level tests, unit tests for difficult areas, and so on, we hope to prove that adopting an approach like ours will save time and money and make life as a developer less frustrating and more rewarding. Every programmer interested in thoroughly testing their software should read this book.
|
Swing Extreme Testing 电子书下载地址: 电子书下载
|
|
|
|