Uploaded image for project: 'Atlas'
  1. Atlas
  2. ATLAS-2146

Remove Powermock Usage

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 1.0.0, 0.8.3
    • atlas-core
    • None

    Description

      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.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            amestry Ashutosh Mestry
            amestry Ashutosh Mestry
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment