accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Corey J. Nolet (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-1349) Enable tests with a suffix of IT to run in a profile
Date Fri, 26 Apr 2013 01:11:13 GMT

    [ 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

Mime
View raw message