Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/321.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
必需的(…)&x2B;循环与输入处的任何内容均不匹配'&书信电报;EOF>';场景中:cucumber功能文件中的Quantum框架_Cucumber_Bdd_Gherkin_Scenarios - Fatal编程技术网

必需的(…)&x2B;循环与输入处的任何内容均不匹配'&书信电报;EOF>';场景中:cucumber功能文件中的Quantum框架

必需的(…)&x2B;循环与输入处的任何内容均不匹配'&书信电报;EOF>';场景中:cucumber功能文件中的Quantum框架,cucumber,bdd,gherkin,scenarios,Cucumber,Bdd,Gherkin,Scenarios,我正在使用Quantum starter框架,这里我必须从JSON文件中获取数据,所以我使用了场景大纲,但我的小黄瓜文件中仍然存在一些问题。在example关键字附近抛出错误,声明“required(…)+循环与输入“”处的任何内容都不匹配” iachat.特征 @IA-Chat Feature: Basic IA chat POC @MessageBlock_TC1 Scenario Outline: To check whether a simple message blo

我正在使用Quantum starter框架,这里我必须从JSON文件中获取数据,所以我使用了场景大纲,但我的小黄瓜文件中仍然存在一些问题。在example关键字附近抛出错误,声明“required(…)+循环与输入“”处的任何内容都不匹配”

iachat.特征

@IA-Chat 
Feature: Basic IA chat POC 

    
@MessageBlock_TC1 
Scenario Outline: To check whether a simple message block plays 
    Given I ran the bat file for application "71 06b34ed878322d128bdcefaa44ca762e27e95838a79a4ae0141ceefb76bdbcf2" 
    Then verify whether expected message "<expectedMessage>" matches the actual message 
    
Examples: {"dataFile":"src/main/resources/data/MessageBlock.json"}
[
  { "expectedMessage" : "Welcome , test case 1"},
  { "expectedMessage" : "1 2 3 4 5"},
  { "expectedMessage" : "The value is 10. ShockAbsorber test with variable"},
  { "expectedMessage" : "Bonjour. Merci Beacoup Monsieur"},
  { "expectedMessage" : "Thank you for calling . Dialed number is not empty"},
  { "expectedMessage" : "Thank you for calling . The CLI is between 7000 and 7010"},
  { "expectedMessage" : "Thank you for calling . This is a test call"},
  { "expectedMessage" : "Thank you for calling . After 2020."},
  { "expectedMessage" : "Thank you for calling . The current day is not sunday."}
]