karaf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Charles Moulliard <cmoulli...@gmail.com>
Subject Re: [DISCUSS] Karaf distribution testing
Date Tue, 23 Nov 2010 07:10:26 GMT
Hi Jamie,

I completely agree with you. We should create some sub directories under 
the itests directory of Karaf and take the time to create tests.

Like for the camel project, we could create a karafTemplate test that 
will be used by all the sub tests.

We could create the following structure

itests
     windows
          commands
          features
          logging
          ....
     unix
          commands
          features
          logging
          ....

Regards,

Charles

On 22/11/10 21:39, Jamie G. wrote:
> Hi All,
>
> After encountering some release issues with the Apache Karaf 2.1.x
> branch it has come to the forefront that we need to improve our
> distribution testing. The main target of distribution testing we need
> is to try out the various scripts we include in each distribution kit.
> These tests would ideally cover un-archiving the kit, launch
> bin/karaf, bin/start, bin/stop, bin/client, and bin/admin.
>
> To help build these tests we can make use of bin/client to help make
> ssh connections (send commands), and admin/core process library to
> control the various processed involved in each test. To uncompress the
> different distributions we could use commons-compress or just ask
> maven to do the work for us (this is done in the Servicemix NMR&
> Features projects).
>
> Regardless of which tools we use to build these tests a certain amount
> of CI will be required. Most of us currently use unix based systems,
> so Windows based issues for example tend to sneak by. Hopefully by
> having such tests automated we'll be able to catch distribution issues
> earlier.
>
> Cheers,
> Jamie

Mime
View raw message