-
New Feature
-
Resolution: Unresolved
-
Minor
-
None
Jenkins advertize that it has some automatic integration with Maven. I also use the default behavior for the test plug-ins so I don't see why I need to specify where the test reports will be.
Extract from pom.xml:
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.10</version>
<configuration>
<includes>
<include>**/ConsultantSearchTests.java</include>
</includes>
</configuration>
</plugin>
Extract from console when the test run:
[INFO] — maven-surefire-plugin:2.10:test (default-test) @ functional.tests —
[INFO] Surefire report directory: C:\program files\hudson\jobs\OPS Smoketest Functional Tests\workspace\trunk\tests\functional\target\surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running com.onassignment.ops.tests.ConsultantSearchTests
0 [main] INFO com.onassignment.ops.framework.TestUtils - Server used for testing is: http://oxgslcrsa01.oaifield.onasgn.com/gui/oxford/index.html
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 52.864 sec
Results :
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0