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.

<strong>Domain</strong> <strong>Testing</strong><br />

Identifying Variables of a Function <strong>and</strong> Their Characteristics<br />

Phase I: Given a function, identify variables <strong>and</strong> their characteristics<br />

To conduct domain testing you will need either written or verbal specification, which<br />

includes code, or the product or prototype. If the product is available, you can do<br />

exploratory testing on it to get yourself familiarized with the product <strong>and</strong> the domain.<br />

The analysis to be done in this phase requires the following steps:<br />

1. Identify variables.<br />

2. Categorize variables.<br />

3. Explore functionality of the function with respect to the identified variables.<br />

4. Identify <strong>and</strong> analyze values taken by each variable.<br />

5. Determine whether the identified variables are one-dimensional or multidimensional.<br />

6. Determine whether the identified variables are of range type or enumerated type.<br />

7. Determine whether each of the identified variables is linearizable or not.<br />

Step 1: Identify variables<br />

What is a variable?<br />

In general a variable<br />

• is something that varies or is prone to variation.<br />

• is a quantity capable of assuming a set of values.<br />

• is a symbol representing a quantity. For example, in the expression a 2 + b 2 =<br />

c 2 , a, b, <strong>and</strong> c are variables.<br />

• is the mathematical model for a characteristic observed or measured in an<br />

experiment, survey, or observational study.<br />

In the computing world, a variable is the name given to a space in the memory to<br />

store a value of some data type. The variable names can be conveniently used to<br />

access the values stored in the memory.<br />

Step 2: Categorize variables<br />

Now that we have identified some variables, let us categorize these variables.<br />

What are the different kinds of variables?<br />

• Input<br />

• Output<br />

© Sowmya Padmanabhan, 2003 1

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

Saved successfully!

Ooh no, something went wrong!