Geeks Talk

Prepare for your Next Interview




How to calculate # of tests

This is a discussion on How to calculate # of tests within the Testing Issues forums, part of the Software Testing category; Given the following fragment of code, how many tests are required for 100% decision coverage? if width > length then biggest_dimension = width if height > width then biggest_dimension = height end_if else biggest_dimension = ...


Go Back   Geeks Talk > Software Testing > Testing Issues

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 08-22-2008
Contributing Member
 
Join Date: Sep 2006
Location: CHENNAI
Posts: 48
Thanks: 5
Thanked 4 Times in 4 Posts
gokulakrishnan_k is on a distinguished road
How to calculate # of tests

Given the following fragment of code, how many tests are required for 100% decision coverage?
if width > length then
biggest_dimension = width
if height > width then
biggest_dimension = height
end_if
else
biggest_dimension = length
if height > length then
biggest_dimension = height
end_if
end_if
Please let me know the answer as well the method to calculate

Thanks

Gokulakrishnan K
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 08-24-2008
Contributing Member
 
Join Date: Sep 2006
Location: CHENNAI
Posts: 48
Thanks: 5
Thanked 4 Times in 4 Posts
gokulakrishnan_k is on a distinguished road
Re: How to calculate # of tests

Deepasree,

Let me check it and reply

Thanks

Gokulakrishnan K
Reply With Quote
  #3 (permalink)  
Old 09-06-2008
Expert Member
 
Join Date: Apr 2008
Location: tamilnadu
Posts: 728
Thanks: 15
Thanked 69 Times in 66 Posts
deepasree will become famous soon enough
Re: How to calculate # of tests

gokul

I hope you got an idea

Thanks
Deepasree
Reply With Quote
Reply

  Geeks Talk > Software Testing > Testing Issues


Thread Tools
Display Modes


Similar Threads

Thread Thread Starter Forum Replies Last Post
Shortucut to calculate 50 ! rajkumarr Mathematical Puzzles 2 08-27-2008 03:39 AM
Calculate and Answer christia Brainteasers 5 03-26-2008 07:41 AM
VAPI-XP Tests ccoic Test Director 0 03-12-2007 07:27 AM
mathematics tests jamesravid Brainteasers 2 11-27-2006 04:03 AM
Calculate the Time nancyphilips Brainteasers 1 08-14-2006 05:06 AM


All times are GMT -4. The time now is 11:43 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Copyright © 2008 GeekInterview.com. All Rights Reserved