1

桃子模糊器。我需要将生成的测试作为参数传递给可执行文件。这可以在称为“桃坑”的xml文件中进行配置。例如,这是文本文件中的测试记录

<Test name="Default">
  <StateModel ref="State"/>
    <Publisher class="FilePerIteration">
      <Param name="FileName" value="tests1/tes_{0}.txt"/>
    </Publisher>
</Test>

这是将测试输出到控制台的示例

<DataModel name="Data">
   <!-- ... -->
</DataModel>
<StateModel name="TheState">
  <State name="initial">
    <Action type="output">
      <DataModel ref="Data" />
    </Action>
  </State>
</StateModel>
<Test name="Default">
  <!-- ... -->
  <Publisher class="Console" />
</Test>
4

0 回答 0