>>>>> 'Christoph Läubrich' via OPS4J 
>>>>> <ops4j-/jypxa39uh5tlh3mboc...@public.gmane.org>:

> Just in case you don not need all the fancy magic of pax exam what is
> really only rarely needed in most cases you can use osgi-test
> framework as a lightweight alternative:

> https://github.com/osgi/osgi-test/

Interesting!

What I want, except for one place (the liquibase karaf feature test), is
to test that the karaf feature loads without error.  Doing anything more
is asking for trouble.

So if this framework can do this without too much magic it's very
interesting to me.

(In the liquibase karaf feature test I test that I use liquibase to
create a schema in a database and that I can insert a row and read back
that row, to prove that liquibase loaded by the feature is able to
actually do its job (and problems with this test is what initiated this
thread. Because when this pax exam test fails the reported errors can be
very strange and point in the wrong direction))


> sadly their maven example is a bit overcrowded, you can find a more
> focused example here:

> https://github.com/microsoft/mssql-jdbc/pull/2066/files

> I have even written a small Junit5 extension that allows running it
> with plain surefire here:

> https://github.com/laeubisoft/osgi-test-framework

Hm... with AssertJ as well, maybe...?

Thanks for the pointer!

And happy new year! :-)

-- 
-- 
------------------
OPS4J - http://www.ops4j.org - ops4j@googlegroups.com

--- 
You received this message because you are subscribed to the Google Groups 
"OPS4J" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ops4j+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ops4j/87bka4cdrq.fsf%40dod.no.

Reply via email to