SoapUI Maven 插件——执行多个项目 [英] SoapUI Maven plugin- executing multiple projects

查看:32
本文介绍了SoapUI Maven 插件——执行多个项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在将 SoapUI TestRunner 的 Ant 执行转换为使用 maven 插件,但我无法得到关于如何使用此插件执行多个项目的好答案.

I am working on converting an Ant execution of the SoapUI TestRunner to use the maven plugin and I cannot get a good answer on how to execute multiple projects using this plugin.

我在 Smartbear 论坛上发现了一个 2010 年的论坛帖子,其中列出了一些方法,但似乎没有一个非常可行(编写一些脚本来调用具有不同参数的 maven 或为每个项目添加一个执行).

I found a forum post from 2010 on the Smartbear forum and there are a few approaches listed but none seem very workable (writing some script to invoke maven with different parameters or adding an execution for every project).

是否有解决此问题的最佳做法?或者有没有人看到这个问题的创造性解决方案?

Are there any best practices for working around this? Or has anyone seen an inventive solution to this problem?

我猜这是一个大规模的问题......

I would guess that this is a large scale problem...

这里是我指的帖子.

推荐答案

好吧,我在任何地方都没有得到太多答案.因此,如果您发现这个问题,这里是您的选择.

Well I haven't gotten much of an answer anywhere. So if you find this question here are your options.

  • 插件的多次执行
  • 编写脚本多次调用maven
  • 构建您自己的 Maven 插件
  • 使用 Ant 执行 testrunner.bat

选择权在你.我决定继续使用我的 Ant 执行 soapui.这是一个带有 蚂蚁执行的例子.也许有一天我会开始写我自己的插件.老实说,蚂蚁执行的效果非常好.测试后我用 ant 做了很多事情(执行多个项目,检查失败等).Ant 似乎确实为此提供了一个很好的解决方案,Maven 的严格结构对于无论如何都不是真正构建的东西并不是那么好.

The choice is yours. I've decided to keep on using my Ant execution of soapui. Here is a blog with an example of the ant execution. Maybe one of these days i'll get around to writing my own plugin. To be honest, the ant execution works really well. I've used ant to do a number of things after the tests (execute multiple projects, check for failures, etc). Ant does seem to offer a nice solution to this, Maven's strict structure isn't really that great for something that isn't really a build anyway.

这篇关于SoapUI Maven 插件——执行多个项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆