You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@falcon.apache.org by "Venkatesh Seetharam (JIRA)" <ji...@apache.org> on 2013/11/18 21:15:21 UTC

[jira] [Created] (FALCON-207) Use DI for services and factory interfaces to make it easy to mock in tests

Venkatesh Seetharam created FALCON-207:
------------------------------------------

             Summary: Use DI for services and factory interfaces to make it easy to mock in tests
                 Key: FALCON-207
                 URL: https://issues.apache.org/jira/browse/FALCON-207
             Project: Falcon
          Issue Type: Improvement
            Reporter: Venkatesh Seetharam


Most of the classes have static get and mocking 'em is hard. Using DI should alleviate this and help us to mock Services in tests. 2 choices: CDI in Java 7 or Guice.



--
This message was sent by Atlassian JIRA
(v6.1#6144)