Re: Some tipps and tricks for writing pax exam OSGi tests

2018-04-17 Thread João Assunção
Very nice Christian.

Thank you for the effort you put into those examples. I already managed to
learn something new and add some new things to my tool belt.
Keep up with the good work.

Regards,

João Assunção

Email: joao.assun...@exploitsys.com
Mobile: +351 916968984
Phone: +351 211933149
Web: www.exploitsys.com



On Tue, Apr 17, 2018 at 7:51 AM, Christian Schneider <
ch...@die-schneider.net> wrote:

> I have just finished an example and docs of some tips and tricks I learned
> for writing OSGi tests using pax exam.
>
> Some highlights:
>
> - Mock tests for DS components using Mockito
> - Debug pax exam based tests like plain java code (edit, save, debug)
> - Full support for hamcrest matchers
> - Use Awaitility for polling asynchronous external systems
> - Create test bundles with bnd and DS components on the fly using
> TinyBundles
> - Use logback in pax exam
>
> See
> https://github.com/cschneider/osgi-testing-example
>
> Cheers
> Christian
>
> --
> --
> Christian Schneider
> http://www.liquid-reality.de
>
> Computer Scientist
> http://www.adobe.com
>
>


Some tipps and tricks for writing pax exam OSGi tests

2018-04-17 Thread Christian Schneider
I have just finished an example and docs of some tips and tricks I learned
for writing OSGi tests using pax exam.

Some highlights:

- Mock tests for DS components using Mockito
- Debug pax exam based tests like plain java code (edit, save, debug)
- Full support for hamcrest matchers
- Use Awaitility for polling asynchronous external systems
- Create test bundles with bnd and DS components on the fly using
TinyBundles
- Use logback in pax exam

See
https://github.com/cschneider/osgi-testing-example

Cheers
Christian

-- 
-- 
Christian Schneider
http://www.liquid-reality.de

Computer Scientist
http://www.adobe.com