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

Remove Powermock Usage

    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

        1. ATLAS-2146.patch
          16 kB
          Ashutosh Mestry

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: