jackrabbit-oak-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jukka Zitting <jukka.zitt...@gmail.com>
Subject Re: svn commit: r1325811 - in /jackrabbit/oak/trunk/oak-it/jcr: pom.xml src/test/java/org/apache/jackrabbit/oak/jcr/JcrTckIT.java src/test/java/org/apache/jackrabbit/oak/jcr/JcrTckITest.java
Date Fri, 13 Apr 2012 15:52:03 GMT
Hi,

On Fri, Apr 13, 2012 at 5:43 PM,  <reschke@apache.org> wrote:
>   <properties>
>     <skip.deployment>true</skip.deployment>
> -    <known.issues>
> +  </properties>
> +
> +  <build>
> +    <plugins>
> +      <plugin>
> +        <groupId>org.apache.maven.plugins</groupId>
> +        <artifactId>maven-surefire-plugin</artifactId>
> +        <configuration>
> +          <systemProperties>
> +            <property>
> +              <name>known.issues</name>
> +              <value>
>  org.apache.jackrabbit.test.api
>  org.apache.jackrabbit.test.api.query
>  org.apache.jackrabbit.test.api.query.qom
> @@ -44,9 +55,14 @@ org.apache.jackrabbit.test.api.version.s
>  org.apache.jackrabbit.test.api.observation
>  org.apache.jackrabbit.test.api.retention
>  org.apache.jackrabbit.test.api.security
> -    </known.issues>
> -  </properties>
> -
> +              </value>
> +            </property>
> +          </systemProperties>
> +        </configuration>
> +      </plugin>
> +    </plugins>
> +  </build>

The oak-parent already has Maven Failsafe plugin configuration for
this. The ${known.issues} property as defined in the <properties/>
section is automatically picked up by that configuration.

> -public class JcrTckIT extends TestCase {
> +public class JcrTckITest extends TestCase {

The Failsafe plugin uses SomethingIT instead of SomethingTest as the
test name pattern to distinguish integration tests from unit tests.

The integration tests are run when the integrationTesting profile is
used, like in: "mvn clean install -PintegrationTesting".

BR,

Jukka Zitting

Mime
View raw message