You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Tibor Digana (JIRA)" <ji...@apache.org> on 2016/03/07 02:38:40 UTC
[jira] [Commented] (SUREFIRE-1232)
JUnit4Provider#createTestsDescription doesn't respect runner anymore
[ https://issues.apache.org/jira/browse/SUREFIRE-1232?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15182449#comment-15182449 ]
Tibor Digana commented on SUREFIRE-1232:
----------------------------------------
[~OliverL]
Did you use {{surefire-junit47}} provider instead?
This should work fine. We will deprecate {{surefire-junit4}} in Version 3.0 and {{surefire-junit47}} will be default.
> JUnit4Provider#createTestsDescription doesn't respect runner anymore
> --------------------------------------------------------------------
>
> Key: SUREFIRE-1232
> URL: https://issues.apache.org/jira/browse/SUREFIRE-1232
> Project: Maven Surefire
> Issue Type: Bug
> Components: Junit 4.x support
> Affects Versions: 2.19.1
> Reporter: Oliver Libutzki
> Assignee: Tibor Digana
>
> In 2.19.1 the JUnit4Prrovider doesn't respect the annotated runner when creating the description of a suite as org.apache.maven.surefire.common.junit4.JUnit4Refelector#createDescription is called which just calls Descritpion#createSuiteDescription.
> In 2.18.1 JUnit4ProviderUtil.createSuiteDescription( classes ) is called which creates a Request and asks the runner for the description.
> This is a regression in my opinion.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)