Return-Path: Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: (qmail 84858 invoked from network); 20 May 2009 22:31:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 20 May 2009 22:31:59 -0000 Received: (qmail 69178 invoked by uid 500); 20 May 2009 22:32:12 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 69142 invoked by uid 500); 20 May 2009 22:32:12 -0000 Mailing-List: contact dev-help@openjpa.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openjpa.apache.org Delivered-To: mailing list dev@openjpa.apache.org Received: (qmail 69132 invoked by uid 99); 20 May 2009 22:32:12 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 May 2009 22:32:12 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lists+1214986235816-210739@n2.nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 May 2009 22:32:00 +0000 Received: from tervel.nabble.com ([192.168.236.150]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1M6uK3-0005iT-AK for dev@openjpa.apache.org; Wed, 20 May 2009 15:31:39 -0700 Message-ID: <1242858699222-2949105.post@n2.nabble.com> Date: Wed, 20 May 2009 15:31:39 -0700 (PDT) From: Pinaki Poddar To: dev@openjpa.apache.org Subject: Re: [DISCUSS] Propose additional uses for openjpa-integration In-Reply-To: <4A12E81E.2000205@apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: ppoddar@apache.org References: <4A12E81E.2000205@apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Hi Donald, If primary motivation for this proposal is to speed up the test execution -- I support that. But I do not like the idea of splitting test corpus in smaller buckets to achieve that goal or reflecting this goal on project module structure. There is a need for sure to be able to run a subset of tests while a development is focused on a relatively isolated aspect. But I have seen it many a times that a rather innocuous change in one part of the software propagates in its impact to an apparently unrelated segment (and this behavior is generic to *any* discreet system, not only to OpenJPA). That is the downside risk if we promote test corpus to be spread/split. DWoods wrote: > > There are two scenarios that I'd like us to consider using the > openjpa-integration component for testing in trunk - > > 1) Validation - using a new integration subproject to test our optional > bean validation support against one or more providers. This will allow > us to keep the junits in openjpa-persistence-jdbc focused on the default > no validator scenarios. > > 2) Lock/Timeout testing - moving most of the lockmgr and lock/query > timeout tests out of openjpa-persistence-jdbc to a new integration > subproject to reduce the time required to run the main-line tests > > Both of the above subprojects would be setup to always run in the tests > goal, so top-level builds would still run all of the existing plus new > junits. > > > A future scenario to consider, would be moving DB specific tests (that > target a single DB like Oracle, DB2, ...) into integration subprojects, > so every junit that remains in openjpa-persistence-jdbc is always active > (not excluded in surefire or skipped due to the DBDictionary) and should > always pass on every supported DB. > > > > -Donald > > ----- Pinaki Poddar http://ppoddar.blogspot.com/ http://www.linkedin.com/in/pinakipoddar OpenJPA PMC Member/Committer JPA Expert Group Member -- View this message in context: http://n2.nabble.com/-DISCUSS--Propose-additional-uses-for-openjpa-integration-tp2940913p2949105.html Sent from the OpenJPA Developers mailing list archive at Nabble.com.