maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SUREFIRE-1452) Support filtering of tests from Base Class (TestNG)
Date Thu, 14 Dec 2017 23:00:00 GMT

    [ https://issues.apache.org/jira/browse/SUREFIRE-1452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16291755#comment-16291755
] 

Hudson commented on SUREFIRE-1452:
----------------------------------

SUCCESS: Integrated in Jenkins build maven-surefire #1811 (See [https://builds.apache.org/job/maven-surefire/1811/])
[SUREFIRE-1452] Support filtering of tests from Base Class (TestNG) (tibor17: [http://git-wip-us.apache.org/repos/asf/?p=maven-surefire.git&a=commit&h=39acb98a94242149b5a8374a9619eb06f6b3cb6d])
* (add) surefire-providers/surefire-testng-utils/src/test/java/testng/utils/MethodSelectorTest.java
* (edit) surefire-providers/surefire-testng-utils/src/main/java/org/apache/maven/surefire/testng/utils/MethodSelector.java
* (add) surefire-providers/surefire-testng-utils/src/test/java/testng/utils/ChildClassSample.java
* (add) surefire-providers/surefire-testng-utils/src/test/java/testng/utils/BaseClassSample.java


> Support filtering of tests from Base Class (TestNG)
> ---------------------------------------------------
>
>                 Key: SUREFIRE-1452
>                 URL: https://issues.apache.org/jira/browse/SUREFIRE-1452
>             Project: Maven Surefire
>          Issue Type: Bug
>          Components: Maven Failsafe Plugin, Maven Surefire Plugin, TestNG support
>            Reporter: Tibor Digana
>            Assignee: Tibor Digana
>             Fix For: 2.21.0.Jigsaw
>
>
> User has two test classes.
> An abstract base class called {{BaseTest}} which contains an {{@Test}} method called
{{testMethodFromBase}}. A child class called {{ChildTest}} which extends {{BaseTest}}.
> User attempts at running the TestNG test via {{-Dtest=ChildTest#testMethodFromBase}}.
> This PR basically addresses only the TestNG portion of the bug https://github.com/cbeust/testng/issues/1563



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message