You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Dan Fabulich (JIRA)" <ji...@codehaus.org> on 2008/08/16 08:18:26 UTC

[jira] Created: (SUREFIRE-514) Provide a way to skip a project's tests if nothing has changed

Provide a way to skip a project's tests if nothing has changed
--------------------------------------------------------------

                 Key: SUREFIRE-514
                 URL: http://jira.codehaus.org/browse/SUREFIRE-514
             Project: Maven Surefire
          Issue Type: New Feature
            Reporter: Dan Fabulich


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 is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (SUREFIRE-514) Provide a way to skip a project's tests if nothing has changed

Posted by "Kristian Rosenvold (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/SUREFIRE-514?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kristian Rosenvold updated SUREFIRE-514:
----------------------------------------

    Component/s: Maven Surefire Plugin

> Provide a way to skip a project's tests if nothing has changed
> --------------------------------------------------------------
>
>                 Key: SUREFIRE-514
>                 URL: http://jira.codehaus.org/browse/SUREFIRE-514
>             Project: Maven Surefire
>          Issue Type: New Feature
>          Components: Maven Surefire Plugin
>            Reporter: Dan Fabulich
>
> 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 is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira