Hi,

You can take a look on that:

https://github.com/apache/karaf/tree/master/examples/karaf-itest-example 
<https://github.com/apache/karaf/tree/master/examples/karaf-itest-example>

Regards
JB

> Le 28 sept. 2020 à 22:59, Steinar Bang <[email protected]> a écrit :
> 
> Does anyone have a code example for a current minimal pax exam test
> loading a feature?
> 
> I'm trying to create an integration test for the PostgreSQL JDBC driver
> karaf feature, so what I want is a test that loads the feature and waits
> for a DataSourceFactory service.
> 
> I'm trying to make a minimal effort by copy/pasting my old integration
> tests, but:
> 1. my tests haven't been active since I transitioned from Java 1.8 to Java 11 
> 2. they contain too much clutter in their configuration
> 
> Thanks!
> 
> 
> - Steinar
> 

Reply via email to