Return-Path: X-Original-To: apmail-directory-dev-archive@www.apache.org Delivered-To: apmail-directory-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AFDBA1084D for ; Sun, 21 Dec 2014 08:02:03 +0000 (UTC) Received: (qmail 46502 invoked by uid 500); 21 Dec 2014 08:02:03 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 46451 invoked by uid 500); 21 Dec 2014 08:02:03 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 46441 invoked by uid 99); 21 Dec 2014 08:02:02 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 21 Dec 2014 08:02:02 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of elecharny@gmail.com designates 74.125.82.49 as permitted sender) Received: from [74.125.82.49] (HELO mail-wg0-f49.google.com) (74.125.82.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 21 Dec 2014 08:01:35 +0000 Received: by mail-wg0-f49.google.com with SMTP id n12so4489248wgh.36 for ; Sun, 21 Dec 2014 00:00:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=b9wDSWMEEXBr/VjDnWi7wvGIWA4ffqsk+xieTQOOCoI=; b=v7f4Xr0VQ5jAZHPi3lCA/OwBuZNi3Iy1iFNPjWhcElUeV25ANj32FaNjSAgqoxnsDo yLiXeh8aXtWHGrOfiPQrYJRzKidpl7jdvGwNNHUuAzLsytfkV60znnC5sMReU83+nre5 pFSy9ZITVSUVRZgBVyZkkDb8I1ON6yN4toGm4I9XedWUpWcCm8SvbyjEegEm44ecqbkc fsWi+U5x/pvV3rEv7hT5Iqo52z66xSaON0V4p5IefLlG19Dz3XhVWPLgofmfDu/WusQL pXKiOn6lkJ5UPGGUfmJaJJfDgA0gY0nIFqe1vXu4Fd2zMatcKFw4gaqhPS3acPPTCK4+ qJuQ== X-Received: by 10.180.90.16 with SMTP id bs16mr20599443wib.4.1419148804347; Sun, 21 Dec 2014 00:00:04 -0800 (PST) Received: from [192.168.1.10] (i19-les01-ix2-212-195-127-200.sfr.lns.abo.bbox.fr. [212.195.127.200]) by mx.google.com with ESMTPSA id b10sm8599523wiw.9.2014.12.21.00.00.03 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 21 Dec 2014 00:00:03 -0800 (PST) Message-ID: <54967E02.3050905@gmail.com> Date: Sun, 21 Dec 2014 09:00:02 +0100 From: =?UTF-8?B?RW1tYW51ZWwgTMOpY2hhcm55?= User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: Apache Directory Developers List Subject: Re: OSGi Tests for API References: <54902E61.1020300@gmail.com> <54904CBD.7050702@stefan-seelmann.de> <5495B47E.6030302@stefan-seelmann.de> In-Reply-To: <5495B47E.6030302@stefan-seelmann.de> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Le 20/12/14 18:40, Stefan Seelmann a écrit : > On 12/16/2014 04:16 PM, Stefan Seelmann wrote: >> re OSGi pax exam test: >> That was a really good pointer, this tool is very helpful. It allows to >> write tests that starts an OSGi container (Felix or Eclipse) and install >> bundles. It is a bit tricky to configure because you need to define all >> bundles it should install including transitive dependencies, but I found >> a way to use the maven-dependency-plugin to generate a file containing >> the dependencies (deps.txt) and then parse that file in the tests. >> Currently its located in my sandbox, I create one test class for each >> shared/api module, 50% is done, I'll do the rest within the next days. >> Then I'd like to move it to shared project, either as its own >> osgi-integrationtest module or if possible move each test directly to >> the maven module it belongs to. Of course the same has to be done also >> for ApacheDS. > I'm finally done with creating the tests. The main thing they test is to > start on OSGi container and install all bundles of the LDAP API to > verify the the bundles are valid an and dependencies can be wired. > > I'll move it now from my sandbox to the API trunk as new maven module > and make it part of the main build Thanks a lot Stefan !