【问题标题】:How do i copy test report to different directory using maven as build tool如何使用 maven 作为构建工具将测试报告复制到不同的目录
【发布时间】:2017-11-03 06:08:47
【问题描述】:

我正在使用故障安全插件执行自动化测试。执行完成后,它会在目标文件夹中生成结果。我想将其复制并保存在另一个文件夹中以保留所有较旧的结果。我如何实现这一点.我使用 maven 作为我的构建工具

【问题讨论】:

    标签: java maven testing automated-tests


    【解决方案1】:

    您可以尝试配置custom report location

    <configuration>
          <outputDirectory>${basedir}/somewhere/newsite</outputDirectory>
    </configuration>
    

    或者使用reportsDirectories 标记来指定报告的目录。

    【讨论】:

      猜你喜欢
      • 2017-06-12
      • 2022-12-22
      • 2011-06-17
      • 1970-01-01
      • 2012-11-05
      • 2011-10-27
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多