Eviware Forum

soapUI => soapUI => Topic started by: bm on May 29, 2008, 07:11:01 pm



Title: Generating JUnit style report from Maven
Post by: bm on May 29, 2008, 07:11:01 pm
Is there a way to generate JUnit style reports directly from Maven, when executing functional tests.

Thanks!


Title: Re: Generating JUnit style report from Maven
Post by: omatzura on May 30, 2008, 08:00:55 am
Hi!

use the junitReport setting in your config:

<junitReport>true</junitReport>

which will generate the corresponding report.xm file..

regards!

/Ole
eviware.com


Title: Re: Generating JUnit style report from Maven
Post by: bm on May 30, 2008, 04:30:19 pm
I did add the entry as suggested, but report is still not being generated.

pom.xml
...
<pluginRepositories>
   <pluginRepository>
      <id>eviwarePluginRepository</id>
      <url>http://www.eviware.com/repository/maven2/</url>
   </pluginRepository>
</pluginRepositories>
...
<build>
   <finalName>SimpleWebApp1</finalName>
   <plugins>
      <plugin>
         <groupId>eviware</groupId>
         <artifactId>maven-soapui-plugin</artifactId>
         <version>1.7.6</version>
         <configuration>
            <projectFile>soapui-project.xml</projectFile>
            <host>aHost:9080</host>
            <junitReport>true</junitReport>
         </configuration>
      </plugin>
   </plugins>
</build>
...

Command: mvn eviware:maven-soapui-plugin:test


Also, where can I find the complete list of all the configuration options for the maven-soapui-plugin?

Thanks


Title: Re: Generating JUnit style report from Maven
Post by: omatzura on May 30, 2008, 11:35:34 pm
Hi,

please also specify an outputFolder, you can see a list of all available settings at http://www.soapui.org/plugin/maven2/properties.html. Also, please try upgrading to the 2.0.2 version to make sure that this wasn't a bug that has been fixed later on..

regards!

/Ole
eviware.com