[ 
https://jira.codehaus.org/browse/SUREFIRE-514?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=358429#comment-358429
 ] 

Tibor Digana commented on SUREFIRE-514:
---------------------------------------

This seems to be doable with 
org.apache.maven.shared.incremental.IncrementalBuildHelperRequest in 
surefire-2.19.

> Provide a way to skip a project's tests if nothing has changed
> --------------------------------------------------------------
>
>                 Key: SUREFIRE-514
>                 URL: https://jira.codehaus.org/browse/SUREFIRE-514
>             Project: Maven Surefire
>          Issue Type: New Feature
>          Components: Maven Surefire Plugin
>            Reporter: Dan Fabulich
>            Assignee: Tibor Digana
>
> Surefire should have an "incremental" mode, perhaps enabled by default.
> We should check the timestamps of every element of the classpath (and every 
> class in any classpath folder) and touch a file in "target" with that 
> timestamp.  If none of those files have been updated, skip tests for the 
> current project.
> It definitely needs to be possible to turn this feature off, though, because 
> sometimes you need to re-run tests based on external resources not on the 
> classpath: deployed web servers, database schema changes, etc.



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)

Reply via email to