Thanks:  0
Likes:  0
Dislikes:  0

1. ## Equivalence Partitioning Question

Hello,
I am preparing to take the ISTQB QA foundations exam and I am a bit confused about what makes a valid partition.

If I have the following boundaries (1 - 1000), is anything below 1 (zero and all negative) considered a valid partition. Or is it an invalid partition like BVA?

2. ## Re: Equivalence Partitioning Question

[ QUOTE ]
If I have the following boundaries (1 - 1000), is anything below 1 (zero and all negative) considered a valid partition. Or is it an invalid partition like BVA?

[/ QUOTE ]

This is an invalid partition. However I would go with 2 partitions instead of 1, one for 0 &amp; other for all -ve because some app are designed to behave differently for 0 &amp; -ve numbers.

3. ## Re: Equivalence Partitioning Question

I don't know what the ISTQB would say. But if I were partitioning it.. Id's say I'd partition it to, &lt; 0, 1, 2-999, 1000, and &gt; 1000. That's basically 2 set of numbers outside the boundries, the 2 numbers at the boundry, and a set representing what's inside the boundry. If I were writing a unit test for that class, all those would need to be tested to ensure full branch coverage (given no prior knowledge of the underlying code)

4. ## Re: Equivalence Partitioning Question

[ QUOTE ]
If I have the following boundaries (1 - 1000), is anything below 1 (zero and all negative) considered a valid partition. Or is it an invalid partition like BVA?

[/ QUOTE ]

I don't know what ISTQB would say, but 0.9999... is also less than 1.

thanks.

6. ## Re: Equivalence Partitioning Question

In ISTQB test is a Objective based test.
You would get the 4 options where only 1 would be right.
In your question you will get below 2 options among the 4 options which confuses the candidate..
1&gt; -1, 0, 1, 999, 1000, 1001
2&gt; -1, 1, 1000, 1001

Here option is correct.
In real testing scenario both options are correct, its just that you would be spending more time in execution if you consider option 1.

7. ## Re: Equivalence Partitioning Question

The idea of Equivalence class partitioning is defined over abstract input space.

Formally, input 'x' , and 'y' both are in class 'C' iff , given input x or input y, the system follows the same code path to reach its output.

I would recommend you to read Boris Beizier.
[http://www.amazon.com/Software-Testi...dp/1850328803]
That is awesomest formal mathematical and practical description of testing one can ever find.
If Knuth is the grand pa of the software development, then this guy is clearly for QA.

#### Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts
•
Search Engine Optimisation provided by DragonByte SEO v2.0.36 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.