You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Gr?gory Joseph (JIRA)" <ji...@codehaus.org> on 2006/01/15 23:49:01 UTC

[jira] Created: (MSUREFIRE-45) The test attribute is incorrectly described

The test attribute is incorrectly described
-------------------------------------------

         Key: MSUREFIRE-45
         URL: http://jira.codehaus.org/browse/MSUREFIRE-45
     Project: Maven 2.x Surefire Plugin
        Type: Improvement

    Reporter: Grégory Joseph
    Priority: Trivial


The the surefire plugin describe its test parameter with "Specify this parameter if you want to use the test regex notation to select tests to run."

However, from what I see in the SurefirePlugin code, this is abusing the "regex" term, since it is concatening "**/" + regex + ".java", which doesn't look much like a standard regex.

i.e, using the regex syntax, one would expect to set "test" to ".*TestCase", but this doesn't work - "*TestCase" gives the expected results.

All in all, I think this is just a matter of claryfiyng the doc - I haven't checked the surefire code itself, but from the results I get, I bet it doesn't use "real" regexes either.


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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Closed: (MSUREFIRE-45) The test attribute is incorrectly described

Posted by "Jason van Zyl (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MSUREFIRE-45?page=all ]
     
Jason van Zyl closed MSUREFIRE-45:
----------------------------------

    Resolution: Fixed

Documentation has been update, when the site is deployed next you'll see it.

> The test attribute is incorrectly described
> -------------------------------------------
>
>          Key: MSUREFIRE-45
>          URL: http://jira.codehaus.org/browse/MSUREFIRE-45
>      Project: Maven 2.x Surefire Plugin
>         Type: Improvement

>     Reporter: Grégory Joseph
>     Priority: Trivial
>      Fix For: 2.1.3

>
>
> The the surefire plugin describe its test parameter with "Specify this parameter if you want to use the test regex notation to select tests to run."
> However, from what I see in the SurefirePlugin code, this is abusing the "regex" term, since it is concatening "**/" + regex + ".java", which doesn't look much like a standard regex.
> i.e, using the regex syntax, one would expect to set "test" to ".*TestCase", but this doesn't work - "*TestCase" gives the expected results.
> All in all, I think this is just a matter of claryfiyng the doc - I haven't checked the surefire code itself, but from the results I get, I bet it doesn't use "real" regexes either.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MSUREFIRE-45) The test attribute is incorrectly described

Posted by "Jason van Zyl (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MSUREFIRE-45?page=comments#action_59601 ] 

Jason van Zyl commented on MSUREFIRE-45:
----------------------------------------

This is really the ant pattern matching code, so the docs should be updated.

> The test attribute is incorrectly described
> -------------------------------------------
>
>          Key: MSUREFIRE-45
>          URL: http://jira.codehaus.org/browse/MSUREFIRE-45
>      Project: Maven 2.x Surefire Plugin
>         Type: Improvement

>     Reporter: Grégory Joseph
>     Priority: Trivial
>      Fix For: 2.1.3

>
>
> The the surefire plugin describe its test parameter with "Specify this parameter if you want to use the test regex notation to select tests to run."
> However, from what I see in the SurefirePlugin code, this is abusing the "regex" term, since it is concatening "**/" + regex + ".java", which doesn't look much like a standard regex.
> i.e, using the regex syntax, one would expect to set "test" to ".*TestCase", but this doesn't work - "*TestCase" gives the expected results.
> All in all, I think this is just a matter of claryfiyng the doc - I haven't checked the surefire code itself, but from the results I get, I bet it doesn't use "real" regexes either.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Updated: (MSUREFIRE-45) The test attribute is incorrectly described

Posted by "Jason van Zyl (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MSUREFIRE-45?page=all ]

Jason van Zyl updated MSUREFIRE-45:
-----------------------------------

    Fix Version: 2.1.3

> The test attribute is incorrectly described
> -------------------------------------------
>
>          Key: MSUREFIRE-45
>          URL: http://jira.codehaus.org/browse/MSUREFIRE-45
>      Project: Maven 2.x Surefire Plugin
>         Type: Improvement

>     Reporter: Grégory Joseph
>     Priority: Trivial
>      Fix For: 2.1.3

>
>
> The the surefire plugin describe its test parameter with "Specify this parameter if you want to use the test regex notation to select tests to run."
> However, from what I see in the SurefirePlugin code, this is abusing the "regex" term, since it is concatening "**/" + regex + ".java", which doesn't look much like a standard regex.
> i.e, using the regex syntax, one would expect to set "test" to ".*TestCase", but this doesn't work - "*TestCase" gives the expected results.
> All in all, I think this is just a matter of claryfiyng the doc - I haven't checked the surefire code itself, but from the results I get, I bet it doesn't use "real" regexes either.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MSUREFIRE-45) The test attribute is incorrectly described

Posted by "Gr?gory Joseph (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MSUREFIRE-45?page=comments#action_59603 ] 

Grégory Joseph commented on MSUREFIRE-45:
-----------------------------------------

great :)

> The test attribute is incorrectly described
> -------------------------------------------
>
>          Key: MSUREFIRE-45
>          URL: http://jira.codehaus.org/browse/MSUREFIRE-45
>      Project: Maven 2.x Surefire Plugin
>         Type: Improvement

>     Reporter: Grégory Joseph
>     Priority: Trivial
>      Fix For: 2.1.3

>
>
> The the surefire plugin describe its test parameter with "Specify this parameter if you want to use the test regex notation to select tests to run."
> However, from what I see in the SurefirePlugin code, this is abusing the "regex" term, since it is concatening "**/" + regex + ".java", which doesn't look much like a standard regex.
> i.e, using the regex syntax, one would expect to set "test" to ".*TestCase", but this doesn't work - "*TestCase" gives the expected results.
> All in all, I think this is just a matter of claryfiyng the doc - I haven't checked the surefire code itself, but from the results I get, I bet it doesn't use "real" regexes either.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org