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>and</strong> B) overlap <strong>and</strong> someone were to select test data from the area that forms the<br />

intersection of the two partitions, how would one decide whether to consider the<br />

test data as belonging to partition A or to partition B, or both?<br />

Ntafos (1998) proposed that one way to resolve the problem of overlapping<br />

subdomains is to further partition the overlapping portion until one gets disjoint<br />

subdomains. Other researchers have relaxed their requirements <strong>and</strong> considered the<br />

possibility of overlapping subdomains in their analyses, observing that in practice,<br />

overlapping subdomains are very probable (Jeng & Weyuker, 1989; Kaner et al.,<br />

1999; Weyuker & Jeng, 1991).<br />

2.01.05 Size of Subdomains – Equally Sized or Unequally Sized?<br />

Most partition testing discussions in the literature do not necessitate forming<br />

equally sized domains because the size of the subdomains is an irrelevant criterion<br />

for them. However, Chan et al. (1998) <strong>and</strong> Weyuker <strong>and</strong> Jeng (1991) have asserted<br />

that forming equally sized partitions actually helps improve the effectiveness of<br />

detecting failures by partition testing over r<strong>and</strong>om testing. There is a detailed<br />

discussion about this under section 2.02.02.<br />

2.02 Selecting Representatives from Subdomains<br />

Partitioning the input domain is only half the battle. The next task is to select<br />

c<strong>and</strong>idates from each partition to represent their respective partitions. The literature<br />

outlines some visible distinctions in how the selection of representatives can be<br />

done:<br />

• R<strong>and</strong>om Selection<br />

• Proportional Partition <strong>Testing</strong><br />

• Risk-Based Selection<br />

o Boundary Value Analysis<br />

o Special Value <strong>Testing</strong><br />

o Robustness <strong>Testing</strong><br />

24

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

Saved successfully!

Ooh no, something went wrong!