From dev-return-25162-apmail-directory-dev-archive=directory.apache.org@directory.apache.org Sun May 11 12:56:36 2008 Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 81924 invoked from network); 11 May 2008 12:56:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 May 2008 12:56:36 -0000 Received: (qmail 56736 invoked by uid 500); 11 May 2008 12:56:38 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 56679 invoked by uid 500); 11 May 2008 12:56:37 -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 56668 invoked by uid 99); 11 May 2008 12:56:37 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 11 May 2008 05:56:37 -0700 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.9] (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with SMTP; Sun, 11 May 2008 12:55:36 +0000 Received: (qmail 81568 invoked from network); 11 May 2008 12:55:56 -0000 Received: from localhost (HELO ?127.0.0.1?) (127.0.0.1) by localhost with SMTP; 11 May 2008 12:55:56 -0000 Message-ID: <4826ECDC.9090809@apache.org> Date: Sun, 11 May 2008 14:55:56 +0200 From: Stefan Seelmann User-Agent: Thunderbird 2.0.0.12 (X11/20080227) MIME-Version: 1.0 To: directory apache Subject: [Studio] Framework for Integration Tests Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi Dev, I am working on a framework for integration tests for studio. I added two plugins into my sandbox, one for core and one for UI tests. Core Integration Tests ---------------------- The core tests don't depend on any UI code, but on the Eclipse runtime. So it is necessary to startup Eclipse in headless mode, then it is possible to access things like Jobs, Preferences, etc. It is already possible to run these test within eclipse or from maven. However in the maven pom there are some fixed paths, I need to remove them, maybe I need some help from a maven guru. UI Integration Tests -------------------- For UI test I selected SWTBot (http://www.swtbot.org). There are still some features missing in the current version 0.2, but it looks very stable and the API is very easy to use. An UI-Recorder is under development. Last not least it is licenced under ASLv2. Here is an example how a test looks like: http://tinyurl.com/3j5ujs It opens the New Connection wizard, enters all connection parameters, does some checks and closes the connection. There are some open issues: 1) We have to extend SWTBot, I already contacted the author that I am interested in contributing. 2) SWTBot depends on many Eclipse plugins. To run the tests from maven we need to add about 50MB of plugins to our repository. Atm I just have a tarball containing all these plugins, but I don't want to commit them to svn. I'll keep you informed. Kind Regards, Stefan Seelmann