You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Mauro Talevi (JIRA)" <ji...@codehaus.org> on 2007/11/12 12:04:25 UTC

[jira] Created: (SUREFIRE-370) Make testing frameworks artifact names configurable in plugin

Make testing frameworks artifact names configurable in plugin
-------------------------------------------------------------

                 Key: SUREFIRE-370
                 URL: http://jira.codehaus.org/browse/SUREFIRE-370
             Project: Maven Surefire
          Issue Type: Improvement
          Components: plugin
    Affects Versions: 2.3
            Reporter: Mauro Talevi
            Priority: Critical


The artifact names of the testing frameworks are hard-coded - junit:junit and org.testng:testng.

We should make them configurable - due to the possibility that the names may change.  

Following use case demostrates the point:   as of JUnit 4.4 - there are *two( junit artifacts, junit:junit and junit:junit-dep, with and without hamcrest jar bundled.    Using only junit-dep will cause a NPE.

Two simple configuration properties - junitArtifactName and testngArtifactName - which default to junit:junit and org.testng:testng will be sufficient and completely backward compatible.






-- 
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-370) Make testing frameworks artifact names configurable in plugin

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

Brett Porter updated SUREFIRE-370:
----------------------------------

    Fix Version/s: 2.4

> Make testing frameworks artifact names configurable in plugin
> -------------------------------------------------------------
>
>                 Key: SUREFIRE-370
>                 URL: http://jira.codehaus.org/browse/SUREFIRE-370
>             Project: Maven Surefire
>          Issue Type: Improvement
>          Components: plugin
>    Affects Versions: 2.3
>            Reporter: Mauro Talevi
>            Assignee: Mauro Talevi
>            Priority: Critical
>             Fix For: 2.4
>
>
> The artifact names of the testing frameworks are hard-coded - junit:junit and org.testng:testng.
> We should make them configurable - due to the possibility that the names may change.  
> Following use case demostrates the point:   as of JUnit 4.4 - there are *two( junit artifacts, junit:junit and junit:junit-dep, with and without hamcrest jar bundled.    Using only junit-dep will cause a NPE.
> Two simple configuration properties - junitArtifactName and testngArtifactName - which default to junit:junit and org.testng:testng will be sufficient and completely backward compatible.

-- 
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] Closed: (SUREFIRE-370) Make testing frameworks artifact names configurable in plugin

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

Dan Fabulich closed SUREFIRE-370.
---------------------------------

    Resolution: Duplicate

Duplicate of SUREFIRE-352.  That bug gives a slightly better justification for this improvement (and also includes a patch)

> Make testing frameworks artifact names configurable in plugin
> -------------------------------------------------------------
>
>                 Key: SUREFIRE-370
>                 URL: http://jira.codehaus.org/browse/SUREFIRE-370
>             Project: Maven Surefire
>          Issue Type: Improvement
>          Components: plugin
>    Affects Versions: 2.3
>            Reporter: Mauro Talevi
>            Assignee: Mauro Talevi
>            Priority: Minor
>             Fix For: 2.4
>
>
> The artifact names of the testing frameworks are hard-coded - junit:junit and org.testng:testng.
> We should make them configurable - due to the possibility that the names may change.  
> Following use case demostrates the point:   as of JUnit 4.4 - there are *two( junit artifacts, junit:junit and junit:junit-dep, with and without hamcrest jar bundled.    Using only junit-dep will cause a NPE.
> Two simple configuration properties - junitArtifactName and testngArtifactName - which default to junit:junit and org.testng:testng will be sufficient and completely backward compatible.

-- 
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-370) Make testing frameworks artifact names configurable in plugin

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

Dan Fabulich updated SUREFIRE-370:
----------------------------------

    Priority: Minor  (was: Critical)

JUnit 4.4 (including -dep) is officially supported in the latest trunk, so this enhancement isn't as urgent.

My opinion is that Surefire already has too many configuration options and so my bias is against adding another one.  Configuration options should be used as preferences, not to workaround bugs in the plugin.

Surefire may be buggy in the future, but when that happens, nobody will prefer the non-buggy behavior.  At that time, we should release a fix.

> Make testing frameworks artifact names configurable in plugin
> -------------------------------------------------------------
>
>                 Key: SUREFIRE-370
>                 URL: http://jira.codehaus.org/browse/SUREFIRE-370
>             Project: Maven Surefire
>          Issue Type: Improvement
>          Components: plugin
>    Affects Versions: 2.3
>            Reporter: Mauro Talevi
>            Assignee: Mauro Talevi
>            Priority: Minor
>             Fix For: 2.4
>
>
> The artifact names of the testing frameworks are hard-coded - junit:junit and org.testng:testng.
> We should make them configurable - due to the possibility that the names may change.  
> Following use case demostrates the point:   as of JUnit 4.4 - there are *two( junit artifacts, junit:junit and junit:junit-dep, with and without hamcrest jar bundled.    Using only junit-dep will cause a NPE.
> Two simple configuration properties - junitArtifactName and testngArtifactName - which default to junit:junit and org.testng:testng will be sufficient and completely backward compatible.

-- 
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