fix(接口自动化): 设置csv,默认允许循环获取内容
This commit is contained in:
parent
aa73812c74
commit
5071bc16fa
|
@ -196,6 +196,8 @@ public abstract class MsTestElement {
|
|||
csvDataSet.setProperty("filename", BODY_FILE_DIR + "/" + item.getFiles().get(0).getId() + "_" + item.getFiles().get(0).getName());
|
||||
}
|
||||
csvDataSet.setIgnoreFirstLine(false);
|
||||
csvDataSet.setRecycle(true);
|
||||
csvDataSet.setProperty("recycle", true);
|
||||
csvDataSet.setProperty("delimiter", item.getDelimiter());
|
||||
csvDataSet.setComment(StringUtils.isEmpty(item.getDescription()) ? "" : item.getDescription());
|
||||
tree.add(csvDataSet);
|
||||
|
|
Loading…
Reference in New Issue