[jira] (SUREFIRE-1028) Unable to run single test (junit)

2014-09-17 Thread Tibor Digana (JIRA)

 [ 
https://jira.codehaus.org/browse/SUREFIRE-1028?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tibor Digana closed SUREFIRE-1028.
--

Resolution: Fixed
  Assignee: Tibor Digana

fixed

 Unable to run single test (junit)
 -

 Key: SUREFIRE-1028
 URL: https://jira.codehaus.org/browse/SUREFIRE-1028
 Project: Maven Surefire
  Issue Type: Bug
  Components: Maven Surefire Plugin
Affects Versions: 2.16
Reporter: Diwaker Gupta
Assignee: Tibor Digana
Priority: Critical
 Fix For: 2.18


 This is a regression from 2.15. It also looks like Surefire keeps regressing 
 on this feature (e.g. see SUREFIRE-827) -- are there no unit or integration 
 tests to prevent such regressions?
 With Surefire 2.15
 {noformat}
 $ mvn test -Dtest=MyTest#testFoo
 ...
 Results :
 Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
 {noformat}
 With Surefire 2.16
 {noformat}
 $ mvn test -Dtest=MyTest#testFoo
 Results :
 Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
 {noformat}



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


[jira] (SUREFIRE-1028) Unable to run single test (junit)

2014-09-13 Thread Tibor Digana (JIRA)

[ 
https://jira.codehaus.org/browse/SUREFIRE-1028?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=352730#comment-352730
 ] 

Tibor Digana commented on SUREFIRE-1028:


maven-surefire.git / commit 
29f76bcb516c05e0b3b3eb26cdff677907e238e0

 Unable to run single test (junit)
 -

 Key: SUREFIRE-1028
 URL: https://jira.codehaus.org/browse/SUREFIRE-1028
 Project: Maven Surefire
  Issue Type: Bug
  Components: Maven Surefire Plugin
Affects Versions: 2.16
Reporter: Diwaker Gupta
Priority: Critical
 Fix For: 2.18


 This is a regression from 2.15. It also looks like Surefire keeps regressing 
 on this feature (e.g. see SUREFIRE-827) -- are there no unit or integration 
 tests to prevent such regressions?
 With Surefire 2.15
 {noformat}
 $ mvn test -Dtest=MyTest#testFoo
 ...
 Results :
 Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
 {noformat}
 With Surefire 2.16
 {noformat}
 $ mvn test -Dtest=MyTest#testFoo
 Results :
 Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
 {noformat}



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


[jira] (SUREFIRE-1028) Unable to run single test (junit)

2014-08-28 Thread Tibor Digana (JIRA)

[ 
https://jira.codehaus.org/browse/SUREFIRE-1028?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=351988#comment-351988
 ] 

Tibor Digana commented on SUREFIRE-1028:


Fixed in
https://github.com/apache/maven-surefire/pull/46


 Unable to run single test (junit)
 -

 Key: SUREFIRE-1028
 URL: https://jira.codehaus.org/browse/SUREFIRE-1028
 Project: Maven Surefire
  Issue Type: Bug
  Components: Maven Surefire Plugin
Affects Versions: 2.16
Reporter: Diwaker Gupta
Priority: Critical
 Fix For: 2.18


 This is a regression from 2.15. It also looks like Surefire keeps regressing 
 on this feature (e.g. see SUREFIRE-827) -- are there no unit or integration 
 tests to prevent such regressions?
 With Surefire 2.15
 {noformat}
 $ mvn test -Dtest=MyTest#testFoo
 ...
 Results :
 Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
 {noformat}
 With Surefire 2.16
 {noformat}
 $ mvn test -Dtest=MyTest#testFoo
 Results :
 Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
 {noformat}



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


[jira] (SUREFIRE-1028) Unable to run single test (junit)

2014-05-16 Thread Diwaker Gupta (JIRA)

[ 
https://jira.codehaus.org/browse/SUREFIRE-1028?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=346401#comment-346401
 ] 

Diwaker Gupta commented on SUREFIRE-1028:
-

@Tibor: yes, same sample works. This is trivially easy to reproduce.

 Unable to run single test (junit)
 -

 Key: SUREFIRE-1028
 URL: https://jira.codehaus.org/browse/SUREFIRE-1028
 Project: Maven Surefire
  Issue Type: Bug
  Components: Maven Surefire Plugin
Affects Versions: 2.16
Reporter: Diwaker Gupta
Priority: Critical
 Fix For: 2.18


 This is a regression from 2.15. It also looks like Surefire keeps regressing 
 on this feature (e.g. see SUREFIRE-827) -- are there no unit or integration 
 tests to prevent such regressions?
 With Surefire 2.15
 {noformat}
 $ mvn test -Dtest=MyTest#testFoo
 ...
 Results :
 Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
 {noformat}
 With Surefire 2.16
 {noformat}
 $ mvn test -Dtest=MyTest#testFoo
 Results :
 Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
 {noformat}



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


[jira] (SUREFIRE-1028) Unable to run single test (junit)

2014-05-16 Thread Tibor Digana (JIRA)

[ 
https://jira.codehaus.org/browse/SUREFIRE-1028?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=346377#comment-346377
 ] 

Tibor Digana commented on SUREFIRE-1028:


@Diwaker
I'll have a look.
I need to have more info about your configuration of surefire plugin 2.17.
Is the command line still the same in 2.17 as above?

 Unable to run single test (junit)
 -

 Key: SUREFIRE-1028
 URL: https://jira.codehaus.org/browse/SUREFIRE-1028
 Project: Maven Surefire
  Issue Type: Bug
  Components: Maven Surefire Plugin
Affects Versions: 2.16
Reporter: Diwaker Gupta
Priority: Critical
 Fix For: 2.18


 This is a regression from 2.15. It also looks like Surefire keeps regressing 
 on this feature (e.g. see SUREFIRE-827) -- are there no unit or integration 
 tests to prevent such regressions?
 With Surefire 2.15
 {noformat}
 $ mvn test -Dtest=MyTest#testFoo
 ...
 Results :
 Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
 {noformat}
 With Surefire 2.16
 {noformat}
 $ mvn test -Dtest=MyTest#testFoo
 Results :
 Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
 {noformat}



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


[jira] (SUREFIRE-1028) Unable to run single test (junit)

2014-05-15 Thread Diwaker Gupta (JIRA)

[ 
https://jira.codehaus.org/browse/SUREFIRE-1028?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=346276#comment-346276
 ] 

Diwaker Gupta commented on SUREFIRE-1028:
-

This remains broken in 2.17. Suggest at least updating the docs 
(http://maven.apache.org/surefire/maven-surefire-plugin/examples/single-test.html)
 until this is fixed so users don't get confused.

 Unable to run single test (junit)
 -

 Key: SUREFIRE-1028
 URL: https://jira.codehaus.org/browse/SUREFIRE-1028
 Project: Maven Surefire
  Issue Type: Bug
  Components: Maven Surefire Plugin
Affects Versions: 2.16
Reporter: Diwaker Gupta
Priority: Critical
 Fix For: 2.18


 This is a regression from 2.15. It also looks like Surefire keeps regressing 
 on this feature (e.g. see SUREFIRE-827) -- are there no unit or integration 
 tests to prevent such regressions?
 With Surefire 2.15
 {noformat}
 $ mvn test -Dtest=MyTest#testFoo
 ...
 Results :
 Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
 {noformat}
 With Surefire 2.16
 {noformat}
 $ mvn test -Dtest=MyTest#testFoo
 Results :
 Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
 {noformat}



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


[jira] (SUREFIRE-1028) Unable to run single test (junit)

2014-03-08 Thread Andreas Gudian (JIRA)

 [ 
https://jira.codehaus.org/browse/SUREFIRE-1028?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andreas Gudian updated SUREFIRE-1028:
-

Fix Version/s: (was: 2.17)
   2.18

 Unable to run single test (junit)
 -

 Key: SUREFIRE-1028
 URL: https://jira.codehaus.org/browse/SUREFIRE-1028
 Project: Maven Surefire
  Issue Type: Bug
  Components: Maven Surefire Plugin
Affects Versions: 2.16
Reporter: Diwaker Gupta
Priority: Critical
 Fix For: 2.18


 This is a regression from 2.15. It also looks like Surefire keeps regressing 
 on this feature (e.g. see SUREFIRE-827) -- are there no unit or integration 
 tests to prevent such regressions?
 With Surefire 2.15
 {noformat}
 $ mvn test -Dtest=MyTest#testFoo
 ...
 Results :
 Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
 {noformat}
 With Surefire 2.16
 {noformat}
 $ mvn test -Dtest=MyTest#testFoo
 Results :
 Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
 {noformat}



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


[jira] (SUREFIRE-1028) Unable to run single test (junit)

2013-11-15 Thread Andrew Gaul (JIRA)

[ 
https://jira.codehaus.org/browse/SUREFIRE-1028?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=335726#comment-335726
 ] 

Andrew Gaul edited comment on SUREFIRE-1028 at 11/15/13 11:27 AM:
--

I can trigger these symptoms when setting parallel=classes, similar to 
http://jira.codehaus.org/browse/SUREFIRE-827#comment-290928

{noformat}
$ mvn test -Dtest=ImmutablePairTest#testBasic -Dparallel=none 
-Dsurefire.version=2.15
...
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0

$ mvn test -Dtest=ImmutablePairTest#testBasic -Dparallel=none 
-Dsurefire.version=2.16
...
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0

$ mvn test -Dtest=ImmutablePairTest#testBasic -Dparallel=classes 
-DthreadCount=1 -Dsurefire.version=2.15
...
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0

$ mvn test -Dtest=ImmutablePairTest#testBasic -Dparallel=classes 
-DthreadCount=1 -Dsurefire.version=2.16

main:
[debug] execute contextualize
[debug] execute contextualize

---
 T E S T S
---

Results :

Tests run: 0, Failures: 0, Errors: 0, Skipped: 0

[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-surefire-plugin:2.16:test (default-test) on 
project commons-lang3: No tests were executed!  (Set 
-DfailIfNoTests=false to ignore this error.) - [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please 
read the following articles:
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
{noformat}

  was (Author: gaul):
I can trigger these symptoms when setting parallel=classes, similar to 
http://jira.codehaus.org/browse/SUREFIRE-827?focusedCommentId=290928page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-290928

{noformat}
$ mvn test -Dtest=ImmutablePairTest#testBasic -Dparallel=none 
-Dsurefire.version=2.15
...
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0

$ mvn test -Dtest=ImmutablePairTest#testBasic -Dparallel=none 
-Dsurefire.version=2.16
...
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0

$ mvn test -Dtest=ImmutablePairTest#testBasic -Dparallel=classes 
-DthreadCount=1 -Dsurefire.version=2.15
...
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0

$ mvn test -Dtest=ImmutablePairTest#testBasic -Dparallel=classes 
-DthreadCount=1 -Dsurefire.version=2.16

main:
[debug] execute contextualize
[debug] execute contextualize

---
 T E S T S
---

Results :

Tests run: 0, Failures: 0, Errors: 0, Skipped: 0

[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-surefire-plugin:2.16:test (default-test) on 
project commons-lang3: No tests were executed!  (Set 
-DfailIfNoTests=false to ignore this error.) - [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please 
read the following articles:
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
{noformat}
  
 Unable to run single test (junit)
 -

 Key: SUREFIRE-1028
 URL: https://jira.codehaus.org/browse/SUREFIRE-1028
 Project: Maven Surefire
  Issue Type: Bug
  Components: Maven Surefire Plugin
Affects Versions: 2.16
Reporter: Diwaker Gupta
Priority: Critical
 Fix For: 2.17


 This is a regression from 2.15. It also looks like Surefire keeps regressing 
 on this feature (e.g. see SUREFIRE-827) -- are there no unit or integration 
 tests to prevent such regressions?
 With Surefire 2.15
 {noformat}
 $ mvn test -Dtest=MyTest#testFoo
 ...
 Results :
 Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
 {noformat}
 With Surefire 2.16
 {noformat}
 $ mvn test -Dtest=MyTest#testFoo
 Results :
 Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
 {noformat}

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


[jira] (SUREFIRE-1028) Unable to run single test (junit)

2013-11-14 Thread Andrew Gaul (JIRA)

[ 
https://jira.codehaus.org/browse/SUREFIRE-1028?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=335726#comment-335726
 ] 

Andrew Gaul commented on SUREFIRE-1028:
---

I can trigger these symptoms when setting parallel=classes, similar to 
http://jira.codehaus.org/browse/SUREFIRE-827?focusedCommentId=290928page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-290928

{noformat}
$ mvn test -Dtest=ImmutablePairTest#testBasic -Dparallel=none 
-Dsurefire.version=2.15
...
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0

$ mvn test -Dtest=ImmutablePairTest#testBasic -Dparallel=none 
-Dsurefire.version=2.16
...
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0

$ mvn test -Dtest=ImmutablePairTest#testBasic -Dparallel=classes 
-DthreadCount=1 -Dsurefire.version=2.15
...
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0

$ mvn test -Dtest=ImmutablePairTest#testBasic -Dparallel=classes 
-DthreadCount=1 -Dsurefire.version=2.16

main:
[debug] execute contextualize
[debug] execute contextualize

---
 T E S T S
---

Results :

Tests run: 0, Failures: 0, Errors: 0, Skipped: 0

[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-surefire-plugin:2.16:test (default-test) on 
project commons-lang3: No tests were executed!  (Set 
-DfailIfNoTests=false to ignore this error.) - [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please 
read the following articles:
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
{noformat}

 Unable to run single test (junit)
 -

 Key: SUREFIRE-1028
 URL: https://jira.codehaus.org/browse/SUREFIRE-1028
 Project: Maven Surefire
  Issue Type: Bug
  Components: Maven Surefire Plugin
Affects Versions: 2.16
Reporter: Diwaker Gupta
Priority: Critical
 Fix For: 2.17


 This is a regression from 2.15. It also looks like Surefire keeps regressing 
 on this feature (e.g. see SUREFIRE-827) -- are there no unit or integration 
 tests to prevent such regressions?
 With Surefire 2.15
 {noformat}
 $ mvn test -Dtest=MyTest#testFoo
 ...
 Results :
 Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
 {noformat}
 With Surefire 2.16
 {noformat}
 $ mvn test -Dtest=MyTest#testFoo
 Results :
 Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
 {noformat}

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


[jira] (SUREFIRE-1028) Unable to run single test (junit)

2013-09-05 Thread Andreas Gudian (JIRA)

 [ 
https://jira.codehaus.org/browse/SUREFIRE-1028?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andreas Gudian updated SUREFIRE-1028:
-

Fix Version/s: 2.17

 Unable to run single test (junit)
 -

 Key: SUREFIRE-1028
 URL: https://jira.codehaus.org/browse/SUREFIRE-1028
 Project: Maven Surefire
  Issue Type: Bug
  Components: Maven Surefire Plugin
Affects Versions: 2.16
Reporter: Diwaker Gupta
Priority: Critical
 Fix For: 2.17


 This is a regression from 2.15. It also looks like Surefire keeps regressing 
 on this feature (e.g. see SUREFIRE-827) -- are there no unit or integration 
 tests to prevent such regressions?
 With Surefire 2.15
 {noformat}
 $ mvn test -Dtest=MyTest#testFoo
 ...
 Results :
 Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
 {noformat}
 With Surefire 2.16
 {noformat}
 $ mvn test -Dtest=MyTest#testFoo
 Results :
 Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
 {noformat}

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


[jira] (SUREFIRE-1028) Unable to run single test (junit)

2013-09-03 Thread Diwaker Gupta (JIRA)
Diwaker Gupta created SUREFIRE-1028:
---

 Summary: Unable to run single test (junit)
 Key: SUREFIRE-1028
 URL: https://jira.codehaus.org/browse/SUREFIRE-1028
 Project: Maven Surefire
  Issue Type: Bug
  Components: Maven Surefire Plugin
Affects Versions: 2.16
Reporter: Diwaker Gupta
Priority: Critical


This is a regression from 2.15. It also looks like Surefire keeps regressing on 
this feature (e.g. see SUREFIRE-827) -- are there no unit or integration tests 
to prevent such regressions?

With Surefire 2.15

{noformat}
$ mvn test -Dtest=MyTest#testFoo
...
Results :
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
{noformat}

With Surefire 2.16

{noformat}
$ mvn test -Dtest=MyTest#testFoo
Results :
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
{noformat}

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