Fitnesse:实例决策表不存在

时间:2014-12-27 13:05:10

标签: fitnesse

!define TEST_SYSTEM {slim}

!path D:\down\fitnesse-standalone.jar
!path D:\down\fitnesse.jar

!path D:\test\NewProject\bin\com\geekcap\fitnesse\fixtures
!define COLLAPSE_SETUP {true}  !define COLLAPSE_TEARDOWN {true}
|Import|
|com.geekcap.fitnesse.fixtures|
!|script|
!|MultiplicationFixture|
|operand1|operand2|product?|
|1|1|1|
|5|5|25|

我尝试在fitnesse中运行前面的脚本,但它返回:

"The instance decisionTable_2.setOperand1. does not exist". 

请帮助我,我错了

1 个答案:

答案 0 :(得分:0)

用空行分隔您的表格,然后移除script行。

|Import|
|com.geekcap.fitnesse.fixtures|

!|MultiplicationFixture|
|operand1|operand2|product?|
|1|1|1|
|5|5|25|