Swing Extreme Testing
Formats:
Includes free access to the book on PacktLib
Free Shipping! UK, US, Europe and selected countries in Asia.
| This book can also be purchased from: | ![]() |
- Learn Swing user interface testing strategy
- Automate testing of components usually thought too hard to test automatically
- Practical guide with ready-to-use examples and source code
- Based on the authors’ experience developing and testing commercial software
Book Details
Language : EnglishPaperback : 328 pages [ 235mm x 191mm ]
Release Date : June 2008
ISBN : 1847194826
ISBN 13 : 978-1-847194-82-4
Author(s) : Lindsay Peters, Tim Lavers
Topics and Technologies : All Books, Java
Table of Contents
Preface
Chapter 1: What Needs Testing?
Chapter 2: Basics of Unit Testing
Chapter 3: Infrastructure for Testing
Chapter 4: Cyborg—a Better Robot
Chapter 5: Managing and Testing User Messages
Chapter 6: Making Classes Testable with Interfaces
Chapter 7: Exercising UI Components in Tests
Chapter 8: Showing, Finding, and Reading Swing Components
Chapter 9: Case Study: Testing a 'Save as' Dialog
Chapter 10: More Techniques for Testing Swing Components
Chapter 11: Help!
Chapter 12: Threads
Chapter 13: Logging
Chapter 14: Communication with External Systems
Chapter 15: Embedding User Interface Components in Server-side Classes
Chapter 16: Tests Involving Databases
Chapter 17: Function Tests
Chapter 18: Load Testing
Chapter 19: GrandTestAuto
Chapter 20: Flaky Tests
Index
Lindsay Peters
Tim Lavers
Sample chapters
You can view our sample chapters and prefaces of this title on PacktLib or download sample chapters in PDF format.
Find your book in our support section to find errata and to download code samples.
- What needs testing in a Java software project—the extreme testing approach
- Managing test classes and test data
- Useful tools for robotically testing Java applications
- Managing and testing user interface components, and using UI wrappers in function testing
- Setting up Swing GUI components in a thread-safe manner
- Creating and testing a JavaHelp system for an application
- Testing highly multi-threaded system and communication with external systems
- Testing the logs produced by a software application
- Embedding GUI components in server-side classes
- Managing databases in a way that facilitates testing
- Specifying and writing tests at the system level, tests using multiple JVMs
- Basics of load testing
- Exploring GrandTestAuto, a tool for test automation, coverage checking, and distributed testing
- Dealing with intermittent test failures
Annual subscription:
$220.00 per annum
Monthly subscription:
$21.99 per month
|
||||||||||||||||
Thorough testing is the basis of good software. Whether we use an agile development methodology such as Extreme Programming, or a more traditional approach, we must test our software at the unit level and application level. The tests must run automatically and cover all aspects of the software.
In this book, the authors draw on more than 20 years of experience to show how automated testing can be applied to a real commercial product.
This book will teach you how to automatically test user interfaces (Swing GUIs), the help system, internationalization, log files, spreadsheets, email, and web services, how to perform tests involving multiple JVMs, and a host of other things. These tests are applied at the module level (unit tests) and at the application level (function tests).
The authors have developed the test processes in the broader context of an Extreme Programming (XP) methodology. However, the testing techniques are certainly not specific to XP, and may be applied within any given development methodology.
This book is a practical guide to automated software testing for extreme Java programming using Swing GUIs, with lots of ready-to-use real-life examples and source code for automated testing of the software components usually regarded as too hard to test automatically.
This book is a practical guide based on the authors’ daily experience developing and maintaining a cutting-edge Artificial Intelligence system. Every chapter comes up with real-life examples and the source code that comes with the book is full of useful (and well-tested) tools. The practical examples make this book suitable learning material for Swing developers.
This book is for Swing developers who design and develop complex software for user interfaces that requires extensive testing. If you want to learn to test your Swing GUI components, this book is for you.



Click here to view more images


