-Now we move to the next step, which involves partitioning the - -2
-categories that we just identified into choices. And these choices are the - -3
-interesting cases for each category. So the interesting subdomains for each one - -4
-of these categories. So once more, lets look at that using our - -5
-example, the split program. So lets start by considering length. What are - -6
-the interesting cases when we think about the length of a string? - -7
-Some of those we already saw, one interesting case is the case - -8
-of the length of size zero, so a string with no characters. - -9
-Another interesting case is the one in which the length of the - -10
-string is size minus one, so the string is just one character - -11
-short of the size at which it will be cut by the - -12
-split program. And we can continue along these lines, so we will select - -13
-size, size plus one, size twice the value of size minus one, - -14
-and so on and so forth. But even without listing all of - -15
-those, I'm sure you get the idea of what it means to - -16
-identify this interesting cases. Let's see - -17
-the movements that are considering the content. - -18
-So without the interesting cases when we think about the content - -19
-of the string. So possible interesting case is the string that - -20
-contains only spaces. Why? Well maybe because a split is written - -21
-spaces in a special way. Similarly a string that contains special - -22
-characters, like non printable characters, - -23
-like tabulation characters, new line might - -24
-also be an interesting case, something that we want to test. Also - -25
-in this case we could continue and go on and on. - -26
-So basically here you just want to put all the interesting cases - -27
-that you can think of when you consider the content - -28
-of a string. Now let's move to the value as the - -29
-next category. So the value of the input size. And - -30
-here we might want to consider a size zero, special case, a - -31
-normal situation, like size greater than zero, another special case, - -32
-size less than zero or maxint. And these are, if you - -33
-remember, I accepted the cases that we consider when we look - -34
-at this example, before. And also here we can continue and - -35
-go on and on. So, at the end of the - -36
-step, what we have is a set of interesting cases - -37
-for each one of the categories, and now we can - -38
-start to think about how we want to combine them. -- cgit 1.4.1