You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Christopher Tubbs (JIRA)" <ji...@apache.org> on 2015/05/28 00:52:17 UTC

[jira] [Commented] (ACCUMULO-2603) Create test-friendly way to get Configuration objects

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

Christopher Tubbs commented on ACCUMULO-2603:
---------------------------------------------

This has been marked "In Progress" for over a year. What's the status of this?

> Create test-friendly way to get Configuration objects
> -----------------------------------------------------
>
>                 Key: ACCUMULO-2603
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-2603
>             Project: Accumulo
>          Issue Type: Improvement
>            Reporter: Bill Havanki
>            Assignee: Bill Havanki
>            Priority: Minor
>             Fix For: 1.6.3, 1.8.0, 1.7.1
>
>
> It's difficult to unit test code that retrieves configuration objects using static method calls, like those in {{SiteConfiguration}} and {{ServerConfiguration}}. We should have a different, similarly easy way to get those objects that makes it easier to swap in / inject mock objects.
> The work here would only be scoped to creating that alternative, and some accompanying low-impact uses of it.



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