You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Ashutosh Mestry (JIRA)" <ji...@apache.org> on 2017/09/18 15:53:00 UTC

[jira] [Created] (ATLAS-2146) Remove Powermock Usage

Ashutosh Mestry created ATLAS-2146:
--------------------------------------

             Summary: Remove Powermock Usage
                 Key: ATLAS-2146
                 URL: https://issues.apache.org/jira/browse/ATLAS-2146
             Project: Atlas
          Issue Type: Improvement
            Reporter: Ashutosh Mestry
            Assignee: Ashutosh Mestry
            Priority: Minor


*Background*

Some time back _Powermocks_ library was added with the intention of being able to test private methods in unit tests. Short coming of this is that does do it in a type safe way.

*Solution*
Existing _TestNG_ framework supports _VisibleForTesting_ annotation that allows for a type safe way to address this.

Short coming of this is that _VisibleForTesting_ does is supported only for a given package.




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)