You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by Chris Custine <cc...@apache.org> on 2009/05/01 09:55:14 UTC

Test coverage improvement

Hi All,
We have had some discussions recently about improving some of the test
coverage.  I have created some Jira issues for some of the more widely used
components so that anyone can take them if desired.  Each issue has a link
to the sonar report page with test coverage and other metrics.  One thing we
have not discussed is what level of test coverage we are seeking, so this
thread would be a good place to discuss that.  Clearly we are lacking good
test coverage, but what level should we agree on as our goal?

Chris
--
Chris Custine
FUSESource :: http://fusesource.com
My Blog :: http://blog.organicelement.com
Apache ServiceMix :: http://servicemix.apache.org
Apache Directory Server :: http://directory.apache.org

Re: Test coverage improvement

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Thanks Chris,

I have begun to take a look on the Jira tasks that you have created.

Maybe we can define test coverage by code area:
1/ all core functions should be linked to a unit test
2/ for components/bundles, at least the marshaler feature and deployment 
(Spring xbean in the case of JBI packaging) should be tested
3/ for binding components that use legacy system should provide mock to 
test end to end.

Regards
JB

Chris Custine wrote:
> Hi All,
> We have had some discussions recently about improving some of the test
> coverage.  I have created some Jira issues for some of the more widely used
> components so that anyone can take them if desired.  Each issue has a link
> to the sonar report page with test coverage and other metrics.  One thing we
> have not discussed is what level of test coverage we are seeking, so this
> thread would be a good place to discuss that.  Clearly we are lacking good
> test coverage, but what level should we agree on as our goal?
> 
> Chris
> --
> Chris Custine
> FUSESource :: http://fusesource.com
> My Blog :: http://blog.organicelement.com
> Apache ServiceMix :: http://servicemix.apache.org
> Apache Directory Server :: http://directory.apache.org
> 

-- 
Jean-Baptiste Onofré (Nanthrax)
BuildProcess/AutoDeploy Project Leader
http://buildprocess.sourceforge.net
jb@nanthrax.net
PGP : 17D4F086