On 8 Oct 2010, at 17:22 , Ivo Ladage-van Doorn wrote:

> Currently there are only a few (integration) tests, but no explicit choice 
> for some test framework was made yet. After discussion with Angelo, we would 
> like to propose using Pax Exam as testing framework. Pax Exam provides an 
> easy way to run regular JUnit tests in a test OSGi container and they can be 
> bound to the Maven lifecycle (test phase). Pax Exam is used for example by 
> the Felix dependency manager.
> Feedback welcome.

I would definitely go with Pax Exam for integration tests and JUnit for unit 
tests.

Next step would be to add support for measuring code coverage.

In the long run, we might want to reconsider the way we do tests, as a dynamic, 
component based system really needs a different mechanism for doing tests 
instead of doing them statically during some automated build process. I'm 
thinking of a way to deploy and run tests in a running framework, so you can 
deploy tests that relate to the set of components that you deployed, and you 
can continuously keep running tests to ensure the system is functioning 
correctly throughout its life time.

Greetings, Marcel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://lists.amdatu.org/pipermail/amdatu-developers/attachments/20101008/8e9c4722/attachment-0001.html
 

Reply via email to