0

I am trying to run a simple test to check if i get the correct answer to the question "whether the number is even or odd"

the FitNesse test case is like this-

!define TEST_SYSTEM {slim}

!path C:\Users\sseth103\Desktop\FT

!|Fixture|

|number|result?|

|2 |EVEN |

|1 |ODD |

|3 |EVEN |

The class file of fixture code is inside the FT folder and it calls another class which is also located at that same folder.

It is displying the error- Could not invoke constructor for number[1], The instance decisionTable_1.set2. does not exist etc.

Can anyone please help me in solving this problem?

4

1 回答 1

0

我弄错了。夹具类需要成为决策表的一部分。我把它分开了,因此出现了错误:P

于 2016-11-29T07:57:32.487 回答