Return-Path: Delivered-To: apmail-maven-users-archive@www.apache.org Received: (qmail 49194 invoked from network); 18 Sep 2006 14:16:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 18 Sep 2006 14:16:39 -0000 Received: (qmail 56153 invoked by uid 500); 18 Sep 2006 14:16:33 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 55786 invoked by uid 500); 18 Sep 2006 14:16:32 -0000 Mailing-List: contact users-help@maven.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Maven Users List" Reply-To: "Maven Users List" Delivered-To: mailing list users@maven.apache.org Received: (qmail 55774 invoked by uid 99); 18 Sep 2006 14:16:32 -0000 Received-SPF: pass (hermes.apache.org: domain of wsmoak@gmail.com designates 64.233.184.229 as permitted sender) Received: from [64.233.184.229] (HELO wr-out-0506.google.com) (64.233.184.229) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Sep 2006 07:16:31 -0700 Received: by wr-out-0506.google.com with SMTP id i20so1173856wra for ; Mon, 18 Sep 2006 07:14:45 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ec/ZUmoDqPXLuJt9ZxCuPgNFF8rqfIslx6nlCowztFQ2THipoZ35u/UKEZhSPUaRhs4zQs8zKwek+Yxwsq/RTZ+Lc7nEYtHep0qH59OFSjljC6G8t17PCY2f4bG81DdTFK8Benz/M06N08Rq8w3idAakxr0sxMw4zrCrLXQ6OUY= Received: by 10.90.66.9 with SMTP id o9mr2074137aga; Mon, 18 Sep 2006 07:12:44 -0700 (PDT) Received: by 10.90.68.3 with HTTP; Mon, 18 Sep 2006 07:12:44 -0700 (PDT) Message-ID: Date: Mon, 18 Sep 2006 07:12:44 -0700 From: "Wendy Smoak" To: "Maven Users List" Subject: Re: Integration Test In-Reply-To: <1158571233.1903.9.camel@sankyo.elis.UGent.be> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1158571233.1903.9.camel@sankyo.elis.UGent.be> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On 9/18/06, Philippe Faes wrote: > Is there an easy way to automatically build and test integration test > projects? > I have an integration test in: > ./src/test/it/pom.xml > The maven doc suggests this should be build and executed in the > integration-test lifecycle, but > $ mvn integration-test > does not run my test. I'm not so sure about that directory structure. You have a pom.xml file underneath 'src' ? I would expect something like: project/core/ project/webapp/ project/integration/ project/integration/src/test/java (<-- or src/it/java ) With the integration tests in a separate module, you can use the info on the wiki page that Mykel linked to. You might need to add if your test classes are not in the default src/test/java directory. Another option is for the 'integration' module to use packaging type 'pom' and for you to bind executions of all the plugins exactly where you want them. In short, integration testing is not yet supported 'out of the box' just by placing classes in the right directory. It's still under discussion, and for now you have to add some configuration. -- Wendy --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@maven.apache.org For additional commands, e-mail: users-help@maven.apache.org