OpenBet_Support
13 years agoOccasional Contributor
[Resolved] Executing all test suites
Hi All,
I am trying to execute all the test suites I have in a project by not including the testSuite element in my POM file.
I am getting an error that says "groovy.lang.MissingPropertyException: No such property: testSuite for class: Script1" when I do this.
This is the POM file:
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.openbet.betplacement</groupId>
<artifactId>Standard-Bets</artifactId>
<packaging>jar</packaging>
<version>1.0-SNAPSHOT</version>
<name>my-app</name>
<url>http://maven.apache.org</url>
<pluginRepositories>
<pluginRepository>
<id>eviwarePluginRepository</id>
<url>http://www.eviware.com/repository/maven2/</url>
</pluginRepository>
</pluginRepositories>
<build>
<plugins>
<plugin>
<groupId>eviware</groupId>
<artifactId>maven-soapui-pro-plugin</artifactId>
<version>4.5.1</version>
<dependencies>
<dependency>
<groupId>jgoodies</groupId>
<artifactId>looks</artifactId>
<version>2.2.0</version>
</dependency>
<dependency>
<groupId>fife</groupId>
<artifactId>rsyntaxtextarea</artifactId>
<version>1.3.4</version>
</dependency>
<dependency>
<groupId>com.openbet.informix.jdbc</groupId>
<artifactId>informix-jdbc</artifactId>
<version>3.70.JC3.production</version>
</dependency>
</dependencies>
<configuration>
<projectFile>Standard-Bets-soapui-project.xml</projectFile>
<!--<testSuite>PlaceSlipSimple</testSuite>-->
<outputFolder>./out</outputFolder>
<junitReport>true</junitReport>
<exportAll>false</exportAll>
<printReport>true</printReport>
<soapuiProperties>
<property>
<name>soapui.logroot</name>
<value>./soapui-logs/</value>
</property>
</soapuiProperties>
</configuration>
<executions>
<execution>
<id>soapUI</id>
<phase>test</phase>
<goals>
<goal>test</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
</project>
Can someone help me out please?
I am trying to execute all the test suites I have in a project by not including the testSuite element in my POM file.
I am getting an error that says "groovy.lang.MissingPropertyException: No such property: testSuite for class: Script1" when I do this.
This is the POM file:
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.openbet.betplacement</groupId>
<artifactId>Standard-Bets</artifactId>
<packaging>jar</packaging>
<version>1.0-SNAPSHOT</version>
<name>my-app</name>
<url>http://maven.apache.org</url>
<pluginRepositories>
<pluginRepository>
<id>eviwarePluginRepository</id>
<url>http://www.eviware.com/repository/maven2/</url>
</pluginRepository>
</pluginRepositories>
<build>
<plugins>
<plugin>
<groupId>eviware</groupId>
<artifactId>maven-soapui-pro-plugin</artifactId>
<version>4.5.1</version>
<dependencies>
<dependency>
<groupId>jgoodies</groupId>
<artifactId>looks</artifactId>
<version>2.2.0</version>
</dependency>
<dependency>
<groupId>fife</groupId>
<artifactId>rsyntaxtextarea</artifactId>
<version>1.3.4</version>
</dependency>
<dependency>
<groupId>com.openbet.informix.jdbc</groupId>
<artifactId>informix-jdbc</artifactId>
<version>3.70.JC3.production</version>
</dependency>
</dependencies>
<configuration>
<projectFile>Standard-Bets-soapui-project.xml</projectFile>
<!--<testSuite>PlaceSlipSimple</testSuite>-->
<outputFolder>./out</outputFolder>
<junitReport>true</junitReport>
<exportAll>false</exportAll>
<printReport>true</printReport>
<soapuiProperties>
<property>
<name>soapui.logroot</name>
<value>./soapui-logs/</value>
</property>
</soapuiProperties>
</configuration>
<executions>
<execution>
<id>soapUI</id>
<phase>test</phase>
<goals>
<goal>test</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
</project>
Can someone help me out please?