You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Corey J. Nolet (JIRA)" <ji...@apache.org> on 2013/04/26 03:11:13 UTC

[jira] [Commented] (ACCUMULO-1349) Enable tests with a suffix of IT to run in a profile

    [ https://issues.apache.org/jira/browse/ACCUMULO-1349?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13642465#comment-13642465 ] 

Corey J. Nolet commented on ACCUMULO-1349:
------------------------------------------

Something like this would allow us to control the running of our integration tests. It can be further placed into a profile so that it doesn't run by default.

{code}
    <plugin>
      <groupId>org.apache.maven.plugins</groupId>
      <artifactId>maven-surefire-plugin</artifactId>
      <configuration>
        <excludes>
          <exclude>**/*IT.java</exclude>
        </excludes>
      </configuration>
      <executions>
        <execution>
          <id>integration-test</id>
          <goals>
            <goal>test</goal>
          </goals>
          <phase>integration-test</phase>
          <configuration>
            <excludes>
              <exclude>none</exclude>
            </excludes>
            <includes>
              <include>**/*IT.java</include>
            </includes>
          </configuration>
        </execution>
      </executions>
    </plugin>
{code}
                
> Enable tests with a suffix of IT to run in a profile
> ----------------------------------------------------
>
>                 Key: ACCUMULO-1349
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-1349
>             Project: Accumulo
>          Issue Type: Improvement
>            Reporter: Corey J. Nolet
>             Fix For: 1.6.0
>
>
> Now that we're planning on using the MiniAccumuloCluster more and more to test the less-unit-testable features, we should probably start running them in a profile that is planned to take much longer than a basic build. That way people who need to build the source quickly can do so without the integration tests slowing them down.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira