URGENT HELP!! How do I begin to implement a custom JUnitReportCollector?
I have already seen lot of blogs and post but not much clear about how can i modify existing junitreportcollector class to generate custom report. I need success test step as well in my report.
My current implementation just run mvn test over xml file like:
<plugin>
<groupId>com.smartbear</groupId>
<artifactId>ready-api-maven-plugin</artifactId>
<version>${readyApiVersion}</version>
<dependencies>
<dependency>
<groupId>com.microsoft.sqlserver</groupId>
<artifactId>sqljdbc4</artifactId>
<version>${sqlVersion}</version>
</dependency>
<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
<version>${pgVersion}</version>
</dependency>
</dependencies>
<executions>
<execution>
<phase>test</phase>
<goals>
<goal>test</goal>
</goals>
<configuration>
<projectFile>${basedir}/scripts/dortal/myproject.xml</projectFile>
<outputFolder>${basedir}/target/surefire-reports</outputFolder>
<testSuite>${soapui.test-suite}</testSuite>
<testCase>${soapui.test-case}</testCase>
<junitReport>true</junitReport>
<printReport>true</printReport>
<environment>Default environment</environment>
<settingsFile>${basedir}/soapui-settings.xml</settingsFile>
<projectProperties>
<value>JDBC=${sqlJdbc}</value>
<value>qe_id=${Id}</value>
<value>AuthEndpoint=${AuthEndpoint}</value>
</projectProperties>
</configuration>
</execution>
</executions>
</plugin>
Can somebody help here?