It seems that you want to test the code in felix runtime, Not normal unit
test ?

If it is true, then you need to resolve some problems:

1. setup and start a felix runtime environment
2. deploy your bundle to felix
3. Sometimes you have to deploy other bundles to felix , if your bundle
depends on someone

Xiaojian

On Wed, Nov 23, 2011 at 4:17 PM, Huy Nguyen Quoc <[email protected]>wrote:

> I have 2 questions about using the junit4osgi package:
>
> - Can i write a bundle for automatically running tests
> Example:
>    - I write a bundle Helloworld service, deploy it into OSGi (Felix)
>    - I write a bundle Test, it will automatically run tests whenever the
> Helloword service start
>
> - Can i write the junit result to file (.html or .txt) ?
>

Reply via email to