You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Bruce Schuchardt (JIRA)" <ji...@apache.org> on 2017/12/21 00:10:00 UTC

[jira] [Reopened] (GEODE-4122) Parameterized tests are skipped when not run with correct runner factory

     [ https://issues.apache.org/jira/browse/GEODE-4122?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bruce Schuchardt reopened GEODE-4122:
-------------------------------------
      Assignee: Patrick Rhomberg  (was: Bruce Schuchardt)

> Parameterized tests are skipped when not run with correct runner factory
> ------------------------------------------------------------------------
>
>                 Key: GEODE-4122
>                 URL: https://issues.apache.org/jira/browse/GEODE-4122
>             Project: Geode
>          Issue Type: Bug
>            Reporter: Patrick Rhomberg
>            Assignee: Patrick Rhomberg
>              Labels: testing
>             Fix For: 1.4.0
>
>
> Initial bug in GEODE-1350, tests annotated with {{@RunWith(Parameterized.class)}} are not correctly detected during testing.  This is corrected when the test class also contains the annotation {{@Parameterized.UseParametersRunnerFactory(CategoryWithParameterizedRunnerFactory.class)}}.
> The following is an possibly-incomplete list of tests containing the offending {{@RunWith}} annotation but not the correcting {{@Parameterized.UseParametersRunnerFactory}} annotation, matching on the regex {{@RunWith\(Parameterized\.class\)\n(?!@Parameterized)}}
> {noformat}
> BaseStringConverterJUnitTest.java
> CacheServerSSLConnectionDUnitTest.java
> ChangeLogLevelCommandDUnitTest.java
> ClusterConfigurationDUnitTest.java
> GatewayReceiverFactoryImplJUnitTest.java
> GcCommandDUnitTest.java
> IndexSecurityDUnitTest.java
> PartitionedIndexSecurityDUnitTest.java
> PdxPartitionedQuerySecurityAllowedQueriesDUnitTest.java
> PdxQuerySecurityAllowedQueriesDUnitTest.java
> PdxQuerySecurityRestrictedQueriesDUnitTest.java
> PRCacheListenerInvocationTest.java
> PRCacheListenerWithInterestPolicyAllInvocationTest.java
> PulseConnectivityTest.java
> QueryCommandTest.java
> ShowLogCommandDUnitTest.java
> ShutdownCommandDUnitTest.java
> {noformat}
> Closure of this ticket should also include a UnitTest or extension to the {{test.gradle}} that ensures no future test includes the one annotation without the other.



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