geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Blum (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (GEODE-167) Leverage the @ConditionalIgnore annotation and corresponding JUnit Rule to setup conditional test exclusions in the test suite based on timestamp or complex condition implemented with IgnoreCondition.
Date Tue, 28 Jul 2015 22:49:04 GMT

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

John Blum updated GEODE-167:
----------------------------
    Summary: Leverage the @ConditionalIgnore annotation and corresponding JUnit Rule to setup
conditional test exclusions in the test suite based on timestamp or complex condition implemented
with IgnoreCondition.  (was: Leverage the @ConditionalIgnore and Rule to setup conditional
test exclusions in the test suite based on timestamp or complex condition implemented with
IgnoreCondition.)

> Leverage the @ConditionalIgnore annotation and corresponding JUnit Rule to setup conditional
test exclusions in the test suite based on timestamp or complex condition implemented with
IgnoreCondition.
> --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: GEODE-167
>                 URL: https://issues.apache.org/jira/browse/GEODE-167
>             Project: Geode
>          Issue Type: Improvement
>          Components: general
>         Environment: Apache Geode test infrastructure
>            Reporter: John Blum
>            Assignee: John Blum
>            Priority: Minor
>              Labels: ApacheGeode, ConditionalIgnore, Test, UnitTest
>         Attachments: ConditionalIgnoreRule.java, ConditionalIgnoreRule.java, DefaultIgnoreCondition.java,
IgnoreCondition.java, IgnoreConditionEvaluationException.java
>
>   Original Estimate: 8h
>  Remaining Estimate: 8h
>
> Make use of the {{@ConditionalIgnore}} annotation and corresponding JUnit {{ConditionalIgnoreRule}}
to ignore tests on a case-by-case basis using a specific set of criteria (a.k.a. {{IgnoreCondition}}).
> This could be used for instance to ignore offending tests causing failure or hangs in
the test suite downstream or to conditional ignore a test based on specific environmental/context
requirements.
> See attached source code for reference.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message