In the literature the following example is often used as a starting example, to show that testing is not trivial.
You can check, how many tests you can design for this simple program:
1. you have a program that has as input 3 numbers (let's say the inputs must be integer) 2. there is a button "check" available 3. when you press "check": these 3 numbers are interpreted by the program as sides of the triangle the program can write a message, if the triangle is: scalene, isosceles or equilateral
Myers tells, that in average an experienced, professional developer gets 7,8 points (for each testcase one point)
Literature: Myers, G. J. (2001). Methodisches Testen von Programmen. 7th run (unchanged reprint of the 3rd run) München ; Wien, Oldenbourg. page1, ISBN 3-486-25634-3.
James Bach in: Rapid Software Testing (and Test Management), Version 1.9.8.3, page24, www.satisfice.com/rst.pdf
Post edited by: erkan, at: 2006/10/09 19:19
The administrator has disabled public write access.