[ https://issues.apache.org/jira/browse/SUREFIRE-1372?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16412683#comment-16412683 ]
ASF GitHub Bot commented on SUREFIRE-1372: ------------------------------------------ Tibor17 commented on issue #150: SUREFIRE-1372 Filter tests to be rerun by description URL: https://github.com/apache/maven-surefire/pull/150#issuecomment-375906501 @mpkorstanje <https://github.com/mpkorstanje> Should we change something in Surefire documentation? It seems we should according to this discussion. On Sat, Mar 24, 2018 at 2:38 PM, adarshkv <notificati...@github.com> wrote: > @mpkorstanje <https://github.com/mpkorstanje> -- Any idea how we can > embed screenshot to XML report (surefire-XML report ?)... At present I am > attaching/ embedding the failed screenshot to html report.. *but I want > to embed the screenshot to surefire-maven XML report TEST.(.*).XML* > > — > You are receiving this because you were mentioned. > Reply to this email directly, view it on GitHub > <https://github.com/apache/maven-surefire/pull/150#issuecomment-375890028>, > or mute the thread > <https://github.com/notifications/unsubscribe-auth/AA_yR4Yd6Y6uonO-ScGf8ZOg8IQ5On0Qks5thkxWgaJpZM4NoCQj> > . > -- Cheers Tibor ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org > Rerunning failing tests fails in combination with > Description#createSuiteDescription > ------------------------------------------------------------------------------------ > > Key: SUREFIRE-1372 > URL: https://issues.apache.org/jira/browse/SUREFIRE-1372 > Project: Maven Surefire > Issue Type: Bug > Components: Maven Surefire Plugin > Affects Versions: 2.20 > Reporter: M.P. Korstanje > Assignee: Tibor Digana > Priority: Major > Fix For: 2.21.0 > > > When using surefire to rerun failing tests created by a Runner that uses > {noformat}Description#createSuiteDescription{noformat} with a human readable > name rather then a class name the following stack trace occurs: > {code} > org.apache.maven.surefire.testset.TestSetFailedException: Unable to create > test class 'Scenario: Fail when running' > at > org.apache.maven.surefire.junit4.JUnit4Provider.executeFailedMethod(JUnit4Provider.java:385) > at > org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:292) > at > org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) > at > org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:161) > Caused by: java.lang.ClassNotFoundException: Scenario: Fail when running > at > org.apache.maven.surefire.junit4.JUnit4Provider.executeFailedMethod(JUnit4Provider.java:379) > at > org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:292) > at > org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) > at > org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:161) > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)