GeekArticles
Testing
Testing MethodsUnit Test Case Design
Author: software-engineer.org |
Published: 12th Aug 2005 |
Visited: 967 times |
Add CommentFiled in: Testing MethodsThis paper provides a general process for developing unit test specifications, and then
describes some specific design techniques for designing unit test cases. It serves as a tutorial for developers who are new to formal testing of software, and as a reminder of some finer points for experienced software testers.
Read Article Sponsored Links
Related Articles
• Swing Extreme Testing - Outline of the Unit Test Outline of the Unit Test
The things we want to test are:
Initial settings:
The text field is empty.
The text field is a sensible size.
The Ok button is disabled.
The Cancel button is enabled.
The dialog is a sensible size.
...
• Swing Extreme Testing - Unit Test Infrastructure Unit Test Infrastructure
Having seen the broad outline of the test class and the UI methods needed, we can look closely at the implementation of the test. start with the UI Wrapper class and the init() and cleanup()method ...
• Swing Extreme Testing - The wasCancelled() Test The wasCancelled() Test
The first of our API tests is to check the wasCancelled() method. We will basically do three investigations. The first test will call wasCancelled()before the dialog has been cancelled. The second test will cancel the dialog and then call the method. In the third test we wil ...
• Swing Extreme Testing - The Data Validation Test The Data Validation Test
The Ok button of the SaveAsDialog should only be enabled if the name that has been entered is valid. A name can be invalid if it contains an illegal character, or if it has already been use ...
• Linux Thin Client Networks Design and Deployment Linux Thin Client Networks Design and Deployment
Considering the Network
Much information already exists concerning methods for deploying networks and hardware. We shall try to clarify differences between using a network with personal computers and thin clients with the help of anecdotes. Certain de ...
• Linux Thin Client Networks Design and Deployment Review Linux Thin Client Networks Design and Deployment Review
Introduction
This book is written by David Richards, a veteran Linux thin client network designer. Designed for System Administrators, Linux Thin Client Networks Design and Deployment goes over the concepts which are related to thin client net ...