NIST TRAINING & CONSULTANCY SERVICES
(A division of National Institute of Science & Technology)


HOME >> FOCUS AREA   >> S/W ENGINEERING >> METHODOLOGY >> DESIGN OF TEST CASES

Design of Test Cases

* Undetectable errors are infinite in quantity and variety, in contrast to detectable errors, which by definition are limited

Although structured coding techniques and coding standards improve the clarity and enable enhancement of the end product but it won’t be wise to assume that the application will always be perfect, i.e., free from any error or bugs. A bug may be there in the application because of incorrect requirement specification, improper design, or because of coding errors. So proper testing of the application should be carried out to enhance the quality and productivity of the application.

* There is still one more bug left in your program

Few points to be remembered during testing are:

* Test to find an error rather than to determine what is correct

There are basically four types of tests, which need to be performed on an application to ensure its productivity and applicability. These are as follows:

* A successful test is one which find errors

Before the actual implementation is done by the programmer the programmer should be provided a set of test cases so that he can take care of it. This actually ensures that the minimal common bugs are taken care during the implementation itself.

The designer should give a numbered list of test cases for each Form and Report as follows:

Test Case #

Test

Expected Response

1. frmPassword : Login Form

1.1

Enter a zero length password

Should not be accepted

1.2

Enter a password that is 25 characters long

Should not be accepted

2. frmChangePwd : Change Password

2.1

When asked for new password, enter the old password.

Should not be accepted.

 

HOME >> FOCUS AREA   >> S/W ENGINEERING >> METHODOLOGY >> DESIGN OF TEST CASES

NIST ||  NISTinfo || Terms of Use || Site Map || Contact Us
Copyright
© NTCS, Berhampur,2002