On Fri, Oct 11, 2019 at 11:02 AM Steinar Bang <[email protected]> wrote: > > >>>>> Tatu Saloranta <[email protected]>: > > > Anyway, I think one important area that is lacking wrt OSGi bundles is > > that there is no testing to validate ability to properly load and > > resolve dependencies. It would be great to have some sort of > > integration testing to -- for example -- at least validate SNAPSHOT > > sets before publishing. With that I'd be less hesitant to merge bigger > > changes to build. > > Integration tests verifying OSGi bundle loading, are possible to do > using the pax exam framework > https://ops4j1.jira.com/wiki/spaces/PAXEXAM4/overview > > However: This worked fine for me during the java 8 days. Unfortunately > in java 9+ I've had so many problems getting the tests to work that I > eventually ended up disabling the integration tests. Karaf have working > pax exam tests in java 9+ and I have tried replicating their setup, but > so far without success (I also need to have the integration tests > working on travis-ci).
Java 9+ has been quite a challenge all around... FWIW, I would be perfectly happy to only have tests that work on JDK 8, however, given that as things are all Jackson components and branches (including master (3.0)) are built on and for Java 8. > I'm hoping the pax exam/java 9+ stuff will stabilize at some point, so I > can reenable the tests...:-/ > > So in short: integration tests like what you're requesting should be > possible at some future time, but perhaps not right now. Ok. We'll get what we can. And when we know what would be ideal it's easier to see opportunities as they arise. -+ Tatu +- -- You received this message because you are subscribed to the Google Groups "jackson-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jackson-dev/CAL4a10hLEAb_GVMPWWe%3DV3P_QXe0kqN4w6A-KBies7acj-GwXQ%40mail.gmail.com.
