One Star

Suggestion on Using Emma for Code Coverage analysis

We have developed 150+ Jobs for ETL. For Quality tests , The management is interested to know the code coverage for the Talend Jobs to be sure about the completeness of test cases. We are planning to use Emma tool. However there seems to be few challenges like A lot of code generated by Talend is not shown under the code coverage even after deliberately forcing the execution to follow that path. Can someone who has implemented the Emma help us in this regard :
- Is there a set of defined steps that can be used to configure Emma with Talend studio? Pleas provide some pointers to us.
- How can we ensure that the code coverage report is complete ?
- Since Talend generates lot of code that may not be used by our Custom Jobs , How can we ensure that Code generated for Our Job only has got complete coverage ?
- What talend generated code, if not shown in code coverage analysis by Emma, can be ignored safely?
Your Response is appreciated.
Regards
Nishant
5 REPLIES
Moderator

Re: Suggestion on Using Emma for Code Coverage analysis

Hi,
So far, we don't support for Emma tool.
You can refer to Talend Project Audit which transforms project data flows to valuable business information. It introduces an auditing approach for evaluating various aspects of Jobs implemented in Talend studios. The aim is to provide solid quantitative and qualitative evaluation for process-oriented decision support.
Please see more info TalendProjectAudit to see if it can meet your needs.
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
One Star

Re: Suggestion on Using Emma for Code Coverage analysis

Thanks Sabrina. That's useful. We have gone through with the option suggested by you. Unfortunately, that doesn't satisfy the need of code coverage analysis. What we want to measure is : Given a set of Test case execution, what % of code got executed. This will help us in validating Test case completeness for a given talend Job. Do you suggest some other tool ? Or any of the customer using some other tool ?
Moderator

Re: Suggestion on Using Emma for Code Coverage analysis

Hi,
Talend don't have the code coverage analysis, however, it is welcome to open a jira bug of DI project on TalendBugTracker our developer will see if the code coverage analysis can be put into development.
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
One Star

Re: Suggestion on Using Emma for Code Coverage analysis

Hi Sabrina,
Did anything ever come of developing a code coverage tool for Talend?
Moderator

Re: Suggestion on Using Emma for Code Coverage analysis

Hi,
Feel free to vote for this new feature jira issue:https://jira.talendforge.org/browse/TMC-6127.
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.