felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Karasulu <aok...@bellsouth.net>
Subject Re: [testing] Automated (in situ) testing
Date Wed, 16 Aug 2006 20:08:17 GMT
Richard S. Hall wrote:
> This sounds pretty interesting to me, of course, I am a testing newbie 
> so that may not mean much. We probably need feedback from the testing 
> gurus out there.
> This doesn't sound exactly like unit testing, but leans more toward 
> integration testing, right? Perhaps this mechanism could also become the 
> basis for integration testing too.

Yeah Richard exactly! This is for integration testing.

> Alex Karasulu wrote:
>> Hi all,
>> I'm going to take another stab at this one. But let me take a step 
>> back to the requirements level.
>> After writing a bundle containing a service, I'd like to write some 
>> tests and have maven run them against my bundle in place within Felix. 
>> Of course, all dependent bundles would need to be installed so the 
>> target bundle being tested can be installed and started.  I want this 
>> to happen as part of the test life-cycle of Maven.  So to "mvn 
>> install" a bundle, it's (in situ) tests must pass.
>> First let me stop and ask if people are really interested in having 
>> this capability?
>> Basically I'm looking for an OSGi bundle testing framework which 
>> easily integrates with Maven and it's compile-test-install etc 
>> life-cycle.  We used to have this over at Avalon for the Pheonix 
>> container; it was called punit.  It would be nice to have something 
>> analogous to it here at Felix, so we can automate in situ testing of 
>> OSGi bundles.
>> Alex

View raw message