首页 > 解决方案 > 如何运行 SOAP ui 测试部分的 Maven 安装?

问题描述

有没有办法运行SOAP UI tests调用 maven install 的一部分,这意味着 maven install 将运行那些 SOAP 测试。

标签: maventestinginstallationsoapui

解决方案


SoapUI 有一个Maven 插件。使用该projectFile参数,您可以将其指向现有的 SoapUI 项目。test将其目标绑定到verifyMaven 中的阶段,你应该很高兴:

<executions>
  <execution>
    <phase>verify</phase>
    <goals>
      <goal>test</goal>
    </goals>
  </execution>
</executions>

推荐阅读