Saturday, May 28, 2011 9:31 AMFrom the document, i cannot understand this concept well, can someone give me an example, when should I use it in my testing?
Monday, May 30, 2011 2:33 AMModerator
If you look at the comment of Combination.Isolated, it is very clear said the combination should be generated satisfying the given condition, but not other isolated conditions. Which means the generated combinations will contain combinations satisfying each isolated conditions, but no one satisfying more than one isolated condition. If you indicate the conditions like:
You will get error state saying isolation cannot be satisfied because there is no combination just satisfying one condition.
It is usually used in negative testing. When you have a negative condition, you expect other conditions are not negative; otherwise, you cannot judge if the negative condition is the only condition resulting in negative result.
For example, user name invalid is an isolated condition, and empty password is another isolated conition, which might result in an error message.