Closed Moustakas42 closed 8 years ago
@Moustakas42 I can't open the zip file. It seems to be invalid.
The RuntimeReporter
can be disabled via the system property enable.runtime.reporter.listener
and a value of false
. Are you sure the setting to do this was not specified?
It can also get disabled if you are building an uber jar and/or overriding the META-INF/services/org.testng.ITestNGListener
file that is packaged with the SeLion "client" jar.
@sebady fyi
@Moustakas42 I'm going to close this question based on no response. Please feel free to open it if you have an update, etc.
I'm sure we haven't tweaked any of these settings... From our POM:
`
<properties>
<suiteXmlFile>src/test/resources/suites/master.xml</suiteXmlFile>
</properties>
<!-- you need this to pull SeLion SNAPSHOT plugin artifacts from the global
repo -->
<pluginRepositories>
<pluginRepository>
<id>sonatype-nexus-snapshots</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
<snapshots>
<!-- Flipping this to true would let you work with SNAPSHOT versions of
plugins -->
<enabled>true</enabled>
</snapshots>
<releases>
<updatePolicy>never</updatePolicy>
</releases>
</pluginRepository>
</pluginRepositories>
<dependencies>
<dependency>
<groupId>com.paypal.selion</groupId>
<artifactId>SeLion</artifactId>
<version>1.1.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.paypal.selion</groupId>
<artifactId>SeLion-Grid</artifactId>
<version>1.1.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-server</artifactId>
<version>2.53.0</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.11</version>
</dependency>
<dependency>
<groupId>com.sun.mail</groupId>
<artifactId>javax.mail</artifactId>
<version>1.5.4</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.17</version>
<configuration>
<suiteXmlFiles>
<suiteXmlFile>${suiteXmlFile}</suiteXmlFile>
</suiteXmlFiles>
</configuration>
</plugin>
<plugin>
<groupId>com.paypal.selion</groupId>
<artifactId>SeLion-Code-Generator</artifactId>
<version>1.0.0</version>
<executions>
<execution>
<phase>generate-sources</phase>
<goals>
<goal>generate</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>1.5</version>
<executions>
<execution>
<id>add-source</id>
<phase>generate-sources</phase>
<goals>
<goal>add-source</goal>
</goals>
<configuration>
<sources>
<source>${project.build.directory}/generated-sources</source>
</sources>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.6</source>
<target>1.6</target>
</configuration>
</plugin>
</plugins>
</build>`
At some point the RuntimeReporter stopped generating itself. The screenshots are there but they don't get used. Does anyone else have that problem? Attaching POM. pom.zip