Forum
 


testing is not trivial: triangle example
Date: 2006/10/09 19:14 By: erkan Status: User  
Karma: 3  
Platinum Boarder

Posts: 98
graph
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
Click here to see the profile of this user The administrator has disabled public write access.


      Topics Author Date
    thread link
testing is not trivial: triangle example
erkan 2006/10/09 19:14

registered users

258 registered
0 today
0 this week
0 this month
Last: santoshg83

Who's Online

We have 23 guests online

Forum Statistics

Total user: 91
Total message: 155
© 2012 www.skilledtesting.com Erkan YILMAZ
Joomla! is Free Software released under the GNU/GPL License.