Hi Marcel,
in my case they aren't junit tests. I would be too complicated so far, but I agree that we need a plugin that launches the framework with the possibility to configure the bundles to install. Unfortunately in our case (UPnP) it is not always sufficient, as some times we should launch external devices too, so automating the tests is not so trivial :(

ciao
francesco


Marcel Offermans wrote:
On Jul 3, 2006, at 12:19 , Francesco Furfari wrote:

I have still to understand how to develop test case in mvn\Osgi, Marcel is working on it.

If it's a plain junit test, you can just stick it in the src/test/java folder and it will be picked up by the test framework (if you run mvn test or some target that indirectly invokes the tests).

The only problem I have with these tests is that they're not yet automatically included in the generated website, but that's just my inexperience with Maven and I'm sure that will be fixed soon.

For "integration tests" I want to create a new Maven plugin that will launch an OSGi framework and perform some tests. There might be something we can use from the Knopflerfish project there (they have such a framework).

Greetings, Marcel


Reply via email to