From dev-return-21253-apmail-jackrabbit-dev-archive=jackrabbit.apache.org@jackrabbit.apache.org Tue Dec 23 11:52:14 2008 Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 8282 invoked from network); 23 Dec 2008 11:52:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Dec 2008 11:52:14 -0000 Received: (qmail 78558 invoked by uid 500); 23 Dec 2008 11:52:13 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 78529 invoked by uid 500); 23 Dec 2008 11:52:13 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 78518 invoked by uid 99); 23 Dec 2008 11:52:13 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Dec 2008 03:52:13 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Dec 2008 11:52:05 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 3B020234C45F for ; Tue, 23 Dec 2008 03:51:44 -0800 (PST) Message-ID: <1437718872.1230033104240.JavaMail.jira@brutus> Date: Tue, 23 Dec 2008 03:51:44 -0800 (PST) From: "Gabriele Columbro (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Created: (JCRCMIS-5) [WS] Setup integration testing framework at build time MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [WS] Setup integration testing framework at build time ------------------------------------------------------ Key: JCRCMIS-5 URL: https://issues.apache.org/jira/browse/JCRCMIS-5 Project: Jackrabbit CMIS Sandbox Issue Type: Task Reporter: Gabriele Columbro For the AtomPub component a programmatic Jetty server creation approach was used (still hanging ATM). Another way (generically used by maven projects) is to startup jetty embedded server in maven and run integration testing from there. We'll test this approach for the WS server component and then investigate if the approach can be reused/shared also with the AtomPub component ( by moving to the server/pom.xml) This task comprises: - Find a mean to separate unit from integration tests (e.g. add integration tests in a specific package, e.g. org.apache.jackrabbit.*.integration*) - Configure surefire to skip integration tests in the 'test' phase (see here http://docs.codehaus.org/display/MAVENUSER/Maven+and+Integration+Testing) - Configure maven-jetty-plugin to be started up in the 'pre-integration-test' phase and deploy the jackrabbit.war with the jcr-cmis-ws extension - Have surefire run all integration tests in the 'integration-test' phase against the running server (using some cxf ws-client support) - Configure jetty to be stopped just after that in the 'post-integration-test' phase -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.