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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Variable Equivalence<br />

classes<br />

‘s’<br />

All strings<br />

with a letter<br />

as the first<br />

character.<br />

(A-Z: ASCII<br />

code 65-90 or<br />

a-z: ASCII<br />

code 97-122)<br />

<strong>and</strong> the<br />

remaining<br />

characters are<br />

characters<br />

from the<br />

st<strong>and</strong>ard<br />

ASCII set.<br />

All strings<br />

with the first<br />

character<br />

being NOT a<br />

letter <strong>and</strong> the<br />

remaining<br />

characters<br />

from the<br />

st<strong>and</strong>ard<br />

ASCII set.<br />

All strings<br />

having at least<br />

one character<br />

corresponding<br />

to extended<br />

ASCII set<br />

(>127)<br />

Test case<br />

(Best representatives)<br />

A string having:<br />

•First character letter ‘A’<br />

• First character letter ‘Z’<br />

•First character Letter ‘a’<br />

• First character letter ‘z’<br />

For the above four test<br />

cases, the remaining<br />

characters are from the<br />

st<strong>and</strong>ard ASCII set.<br />

•First character any one of<br />

the four letters: ‘a’, ‘A’, ‘z’<br />

or ‘Z’ <strong>and</strong> the second<br />

character corresponding to<br />

ASCII code 0.<br />

•First character any one of<br />

the four letters: ‘a’, ‘A’, ‘z’<br />

or ‘Z’<br />

<strong>and</strong> the second character<br />

corresponding to ASCII<br />

code 127.<br />

A string having:<br />

•First character ‘@’<br />

• First character ‘[’<br />

•First character ‘.’<br />

• First character ‘{’<br />

A string having:<br />

• one of the characters<br />

corresponding to ASCII<br />

code 128 belonging to<br />

extended ASCII set.<br />

Risks Notes<br />

1) Failure to process strings<br />

correctly that have upper case<br />

letters as their first character <strong>and</strong><br />

characters from the st<strong>and</strong>ard<br />

ASCII set for the remaining<br />

characters.<br />

2) Mish<strong>and</strong>ling of lower <strong>and</strong> upper<br />

lower boundary values.<br />

3) Failure to process strings<br />

correctly that have lower case<br />

letters as their first character <strong>and</strong><br />

characters from the st<strong>and</strong>ard<br />

ASCII set for the remaining<br />

characters.<br />

4) Mish<strong>and</strong>ling of lower <strong>and</strong> upper<br />

lower boundary values.<br />

5) Failure to process strings<br />

correctly that have characters in<br />

the st<strong>and</strong>ard ASCII set.<br />

6) Mish<strong>and</strong>ling of lower <strong>and</strong> upper<br />

lower boundary values.<br />

1) Mish<strong>and</strong>ling of strings not<br />

having letters as their first<br />

character.<br />

2) Mish<strong>and</strong>ling of characters just<br />

beneath <strong>and</strong> beyond the lower<br />

<strong>and</strong> upper boundaries for the<br />

ASCII sub-ranges for lower <strong>and</strong><br />

uppercase letters respectively.<br />

1) Mish<strong>and</strong>ling of strings that have<br />

characters from the extended<br />

ASCII set.<br />

2) Mish<strong>and</strong>ling of value just<br />

beyond the upper boundary of<br />

st<strong>and</strong>ard ASCII set.

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

Saved successfully!

Ooh no, something went wrong!