If you are looking for real integration testing, Pax Exam is probably
what you want.

However, if you want to test you services without a full OSGi
framework you might want to have  a look at PojoSR:

http://pojosr.googlecode.com

I know that some people use it for JUnit testing their services.
Finally, bnd itself can be used for testing (we use that in the
framework) and it is used by the OSGi ct.

regards,

Karl

On Tue, Dec 6, 2011 at 9:17 AM, Andreas Pieber <[email protected]> wrote:
> Hey Ken,
>
> You might want to give Pax Exam a look for integration tests with OSGi:
> http://team.ops4j.org/wiki/display/paxexam/Pax+Exam
>
> Kind regards,
> Andreas
>
> On Tue, Dec 6, 2011 at 09:11, Ken Gilmer <[email protected]> wrote:
>
>> Hi,
>>
>>  I'd like to begin adding some test cases to the httplite bundle.  Ideally
>> I'd like my tests executed within an OSGi context so I don't have to mock
>> anything, and the test environment is as close as possible to a real
>> instance.  Also I'd like my tests to execute as part of the maven build
>> process.  Can anyone suggest an existing and somewhat current Felix project
>> that does this or provide other suggestions?
>>
>> Thanks!
>> ken
>>



-- 
Karl Pauls
[email protected]
http://twitter.com/karlpauls
http://www.linkedin.com/in/karlpauls
https://profiles.google.com/karlpauls

Reply via email to