Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 83B8572FE for ; Fri, 19 Aug 2011 13:46:53 +0000 (UTC) Received: (qmail 62666 invoked by uid 500); 19 Aug 2011 13:46:53 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 62406 invoked by uid 500); 19 Aug 2011 13:46:51 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 62280 invoked by uid 99); 19 Aug 2011 13:46:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Aug 2011 13:46:51 +0000 X-ASF-Spam-Status: No, hits=-2001.1 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Aug 2011 13:46:48 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id C7D34C44D7 for ; Fri, 19 Aug 2011 13:46:27 +0000 (UTC) Date: Fri, 19 Aug 2011 13:46:27 +0000 (UTC) From: "Kihwal Lee (JIRA)" To: common-issues@hadoop.apache.org Message-ID: <1673459629.52916.1313761587815.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1598299170.29333.1313087427527.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (HADOOP-7537) Add PowerMock for the development of better tests MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-7537?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kihwal Lee updated HADOOP-7537: ------------------------------- 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. (was: 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. ) > Add PowerMock for the development of better tests > ------------------------------------------------- > > Key: HADOOP-7537 > URL: https://issues.apache.org/jira/browse/HADOOP-7537 > Project: Hadoop Common > Issue Type: Improvement > Components: build > Affects Versions: 0.23.0 > Reporter: Kihwal Lee > Assignee: Kihwal Lee > Priority: Minor > Fix For: 0.23.0 > > Attachments: powermock.patch > > > 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. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira