David J. M. Karlsen created SUREFIRE-816: --------------------------------------------
Summary: regression: java.lang.Exception: No tests found matching from org.junit.runner.Request$1@1808199 Key: SUREFIRE-816 URL: https://jira.codehaus.org/browse/SUREFIRE-816 Project: Maven Surefire Issue Type: Bug Components: Maven Surefire Plugin Affects Versions: 2.11 Environment: maven 3.0.3 Reporter: David J. M. Karlsen In 2.11 I get: {noformat} java.lang.Exception: No tests found matching from org.junit.runner.Request$1@1808199 at org.junit.internal.requests.FilterRequest.getRunner(FilterRequest.java:37) at org.junit.runner.JUnitCore.run(JUnitCore.java:136) at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:61) at org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:140) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:188) at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:166) at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:86) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:101) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74) {noformat} this passed fine with 2.10. The test-class uses parameters - and in this execution no parameters are returned, and hence no tests should be executed either. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira