You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "John Blum (JIRA)" <ji...@apache.org> on 2015/07/29 00:47:04 UTC
[jira] [Updated] (GEODE-167) Leverage the @ConditionalIgnore and
Rule to setup conditional test exclusions in the test suite based on
timestamp or complex condition implemented with IgnoreCondition.
[ https://issues.apache.org/jira/browse/GEODE-167?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
John Blum updated GEODE-167:
----------------------------
Attachment: IgnoreConditionEvaluationException.java
DefaultIgnoreCondition.java
ConditionalIgnoreRule.java
IgnoreCondition.java
ConditionalIgnoreRule.java
Attaching supporting JUnit (extension) source files for "conditionally ignoring" tests.
> Leverage the @ConditionalIgnore and 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)