0
下面的條款是我的CSV的一個例子的輸入文件閱讀CSV文件,並使用每行IAS在斯波克
A1,B1
A2,B2
A3,B3
這裏是我的斯波克測試:
def testCSV() {
when:
def A = ValueOfA
def B = ValueOfA
then:
println A
println B
where:
ValueOfA | ValueOfA
**get these value from csv file**
}
是否有可能讀取csv文件並在where子句中傳遞值?