Return-Path: Delivered-To: apmail-tomcat-dev-archive@www.apache.org Received: (qmail 45964 invoked from network); 23 Jul 2010 15:01:01 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 23 Jul 2010 15:01:01 -0000 Received: (qmail 27893 invoked by uid 500); 23 Jul 2010 15:01:00 -0000 Delivered-To: apmail-tomcat-dev-archive@tomcat.apache.org Received: (qmail 27595 invoked by uid 500); 23 Jul 2010 15:00:59 -0000 Mailing-List: contact dev-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Developers List" Delivered-To: mailing list dev@tomcat.apache.org Received: (qmail 27584 invoked by uid 99); 23 Jul 2010 15:00:59 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Jul 2010 15:00:59 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.85.160.45] (HELO mail-pw0-f45.google.com) (209.85.160.45) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Jul 2010 15:00:53 +0000 Received: by pwi2 with SMTP id 2so9332483pwi.18 for ; Fri, 23 Jul 2010 08:00:31 -0700 (PDT) Received: by 10.114.210.6 with SMTP id i6mr5639320wag.139.1279897231098; Fri, 23 Jul 2010 08:00:31 -0700 (PDT) Received: from [10.0.1.31] (c-24-16-66-36.hsd1.wa.comcast.net [24.16.66.36]) by mx.google.com with ESMTPS id d39sm542609wam.4.2010.07.23.08.00.29 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 23 Jul 2010 08:00:30 -0700 (PDT) Sender: Jeremy Boynes References: In-Reply-To: Mime-Version: 1.0 (Apple Message framework v1081) Content-Type: text/plain; charset=windows-1252 Message-Id: Content-Transfer-Encoding: quoted-printable From: Jeremy Boynes Subject: Re: New joiner's question - mocking for unit tests Date: Fri, 23 Jul 2010 08:00:28 -0700 To: "Tomcat Developers List" X-Mailer: Apple Mail (2.1081) X-Virus-Checked: Checked by ClamAV on apache.org There is some use of EasyMock in the Taglibs sub-project. On Jul 22, 2010, at 7:51 PM, Alexander Shirkov wrote: > Hello all >=20 > I have quick question: Is there mocking framework in project? > Writing dummies for unit tests is quite useless and boring thing. Plus = it=92s > filling codebase with =93noise=94. > I have some experience with: >=20 > JMock - http://www.jmock.org/ > EasyMock - http://easymock.org/ > Mockito (my favourite) - http://mockito.org/ >=20 > First one hasn=92t updated since Feb 2009, so I think it=92s not a = good idea to > look there. Two others are great: both have dynamic proxying for = interfaces > and classes. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org For additional commands, e-mail: dev-help@tomcat.apache.org