Git Product home page Git Product logo

Comments (4)

rotty3000 avatar rotty3000 commented on June 12, 2024

I like this idea. And we can extend it in the future so that it can still use a bndrun file to setup the framework. I know here you are banking on the connect model, but I wouldn't preclude using a real framework.

I don't need/want any special resolving as I can manage a small set of test-pugins and I don't like to afford the extra time required for resolving

I don't really agree with that statement since resolving is probably the most important test you need to perform on an OSGi bundle but it's not a blocker for the idea of testing from surefire which I've been meaning to work on for ages, so thanks for taking the lead here 👍

from osgi-test.

laeubi avatar laeubi commented on June 12, 2024

Thanks @rotty3000 for the feedback andthe support, just want to make clear this obviously should not replace any resolving using BND, that will still be possible and maybe a bnd(run)-file would be an input also for a connect setup.

Also I don't want to say that a resolver is not important, but found for a (unit) test-setup it is often enough (especially if the project has a very limited OSGi scope) to simply have a small set of bundles (like 2 or 3) to have a rather closed-scoped test-context and much more manageable (you get what you declare, not more not less) and faster (than calculating this on each run) but still complete enough.

I'll prepare a PR for an initial implementation, and as you said we can easily build / enhance on top of it later on!

from osgi-test.

laeubi avatar laeubi commented on June 12, 2024

Jena is another usecase that recently dropped OSGi support as it become too cumbersome to maintain tests in a non-OSGi environment:

from osgi-test.

laeubi avatar laeubi commented on June 12, 2024

As there are sadly no progress here I have now created a separate project:

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

let me know if there is any interest to migrate the code here to a more official place...

from osgi-test.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.