Hadoop Common
  1. Hadoop Common
  2. HADOOP-7537

Add PowerMock for the development of better tests

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Won't Fix
    • Affects Version/s: 0.23.0
    • Fix Version/s: 0.23.0
    • Component/s: build
    • Labels:
      None

      Description

      We already have Mockito, but PowerMock extends its capabilties so that we can mock constructors and static methods. I find that it is extremely difficult, if not impossible, to properly test some of the low-level features without this.

        Issue Links

          Activity

          Kihwal Lee created issue -
          Kihwal Lee made changes -
          Field Original Value New Value
          Link This issue is blocked by HADOOP-7536 [ HADOOP-7536 ]
          Kihwal Lee made changes -
          Link This issue blocks HADOOP-7492 [ HADOOP-7492 ]
          Kihwal Lee made changes -
          Attachment powermock.patch [ 12490165 ]
          Kihwal Lee made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Kihwal Lee made changes -
          Description We already have Mockito, but PowerMock extends its capabilties so that we can mock constructors and static methods. I find that it is extremely difficult, if not impossible, to properly test some of the low-lever features without this. We already have Mockito, but PowerMock extends its capabilties so that we can mock constructors and static methods. I find that it is extremely difficult, if not impossible, to properly test some of the low-level features without this.
          Kihwal Lee made changes -
          Status Patch Available [ 10002 ] Open [ 1 ]
          Kihwal Lee made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          Kihwal Lee made changes -
          Status In Progress [ 3 ] Open [ 1 ]
          Kihwal Lee made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Won't Fix [ 2 ]
          Arun C Murthy made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Colin Patrick McCabe made changes -
          Link This issue is duplicated by HADOOP-9122 [ HADOOP-9122 ]
          Gavin made changes -
          Link This issue blocks HADOOP-7492 [ HADOOP-7492 ]
          Gavin made changes -
          Link This issue is depended upon by HADOOP-7492 [ HADOOP-7492 ]

            People

            • Assignee:
              Kihwal Lee
              Reporter:
              Kihwal Lee
            • Votes:
              0 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development