atlas-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashutosh Mestry (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ATLAS-2146) Remove Powermock Usage
Date Mon, 18 Sep 2017 15:53:00 GMT
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)

Mime
View raw message