【发布时间】:2013-11-13 21:17:00
【问题描述】:
我长期以来一直在为一个问题苦苦挣扎,但我无法找到解决类别划分问题的正确方法。如果有人设法解释如何进行,我将非常高兴和感激。 好的...这是示例:
Parameters!
Pattern!
Size:!
empty [property Empty]!
single character [property NonEmpty]
many character [property NonEmpty]
too long [property NonEmpty]
Quoting:
quoted [property quoted]
not quoted [if NonEmpty]
improperly quoted [if NonEmpty]
Embedded blanks:
no blanks [if NonEmpty]
one blank [if NonEmpty and Quoted]
several blanks [if NonEmpty and Quoted]
Embedded quotes:
no quotes [if NonEmpty]
one quote [if NonEmpty and Quoted]
several quotes [if NonEmpty and Quoted]
File name:
good
no file
omitted
Environment
Number of occurrences:
none [if NonEmpty]
exactly one [if NonEmpty][property Match]
more than one [if NonEmpty][property Match]
Pattern occurrences on target line!
one [if Match]!
more than one [if Match]
答案应该是 678,但我无法得到它......
【问题讨论】:
标签: unit-testing testing functional-testing black-box black-box-testing