10.12.2012 Views

Domain Testing: Divide and Conquer - Testing Education

Domain Testing: Divide and Conquer - Testing Education

Domain Testing: Divide and Conquer - Testing Education

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Developing test cases for given program functions<br />

Example 6<br />

� Step 2:<br />

Analyze the values taken by each<br />

variable<br />

� Let’s address the following three questions for<br />

each identified variable:<br />

� What kind of values does the variable take?<br />

� What are the characteristics of these values?<br />

� Is the variable multidimensional? What are the<br />

dimensions? Can you map the variable to st<strong>and</strong>ard<br />

data types like int, double, float, string, char, etc…<br />

along each of its dimensions?<br />

© Sowmya Padmanabhan, 2003<br />

76

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!