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 Dimension Equivalence<br />

classes<br />

User name<br />

Length All values<br />

having lengths<br />

in the range of 5<br />

to 15<br />

Type of<br />

Characters<br />

All values<br />

having lengths<br />

outside the<br />

allowed range<br />

All values<br />

containing<br />

allowed<br />

characters<br />

All values<br />

containing at<br />

least one<br />

character that is<br />

NOT allowed.<br />

Test cases<br />

(Best representatives)<br />

A user name having length of:<br />

1) 5<br />

2) 15<br />

A user name having length of:<br />

1) 4<br />

2) 16<br />

3) 0<br />

4) Max-length at the system level<br />

5) Max-length + 1 at the system level<br />

Digits:<br />

A user name containing<br />

1) 0 (ASCII code 48)<br />

2) 9 (ASCII code 57)<br />

Lowercase characters:<br />

A user name containing<br />

1) a (ASCII code 97)<br />

2) z (ASCII code 122)<br />

Digits:<br />

A user name containing<br />

1) character with ASCII code 47<br />

2) character with ASCII code 58<br />

Lowercase characters:<br />

A user name containing<br />

1) a character with ASCII code 96<br />

2) a character with ASCII code 123<br />

3) character corresponding to ASCII<br />

128 of the extended ASCII set<br />

Risks<br />

1) Failure to process user<br />

names correctly, that<br />

have their lengths within<br />

the allowed range.<br />

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

<strong>and</strong> upper boundary<br />

values.<br />

1) Mish<strong>and</strong>ling of user<br />

names that have their<br />

lengths outside the<br />

allowed range.<br />

2) Mish<strong>and</strong>ling of user<br />

names just beneath <strong>and</strong><br />

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

upper boundaries<br />

respectively.<br />

3) Mish<strong>and</strong>ling of too<br />

small, too long strings<br />

<strong>and</strong> beyond.<br />

1) Failure to process<br />

allowable characters<br />

correctly.<br />

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

<strong>and</strong> upper boundary<br />

values.<br />

1) Mish<strong>and</strong>ling of user<br />

names that have nondigits<br />

2) Mish<strong>and</strong>ling of user<br />

names that contain<br />

characters that are NOT<br />

allowed.<br />

3) Mish<strong>and</strong>ling of values<br />

just beyond lower <strong>and</strong><br />

upper <strong>and</strong> boundary<br />

values respectively.<br />

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

characters from the<br />

extended ASCII set.<br />

5) Mish<strong>and</strong>ling of value<br />

just beyond the upper<br />

boundary of the st<strong>and</strong>ard<br />

ASCII set.

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

Saved successfully!

Ooh no, something went wrong!