You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Apoorv Naik (JIRA)" <ji...@apache.org> on 2017/04/21 21:17:04 UTC

[jira] [Created] (ATLAS-1746) Test refactor and cleanup

Apoorv Naik created ATLAS-1746:
----------------------------------

             Summary: Test refactor and cleanup
                 Key: ATLAS-1746
                 URL: https://issues.apache.org/jira/browse/ATLAS-1746
             Project: Atlas
          Issue Type: Bug
    Affects Versions: 0.8-incubating, 0.9-incubating
            Reporter: Apoorv Naik
            Assignee: Apoorv Naik
             Fix For: 0.9-incubating


Currently the tests have different coding patterns, someplace we rely on DI for getting Objects other places we manually create instances of classes (or dependencies) under test.

Ideally it should only be done either by DI or hand construct all the time rather than relying on DI. The former seems to be a cleaner approach as we get to validate the DI behavior as well.

The patch will remove all manual instantiations and replace them with Injectable components



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)