General test Plan Metrics - second top level report

LATEST Official version.
Questions and discussions - NO ISSUES
FOR ISSUES => http://mantis.testlink.org

Moderators: Amaradana, TurboPT, TL Developers

Post Reply
vettriselvank
TestLink user
Posts: 2
Joined: Sun Nov 22, 2015 10:57 am

General test Plan Metrics - second top level report

Post by vettriselvank »

Hello all,

I would like to get few nitrification on "Results by top level testsuite" table in the General Test plan Metrics" report.

This particular result table is listing all top level test suite report and the corresponding progress and percentage.
In our project we have 2 level of testsuite. One top level and another one is subtop level. For Eg: If the top level test suite name is Authentication then the subtoplevl test suites will be like LDAP, Radius etc.

I looked in to the code and figured out that line no 28 on resultGeneral.php has.

$dummy = $metricsMgr->getStatusTotalsByTopLevelTestSuiteForRender($args->tplan_id);

I tried to change the above method to getStatusTotalsBytestSuiteForRender. After changing i launched the General Test plan Metrics" report and in the section Results by top level testsuite i see the subsuite level data in each row.

Only thing i am missing is the name in the first colum is still showing the top level. That is if i have two subfolders for top level test suite [ say Authentication ] then i get6 two rows in the report table with name as authentication.

can you help me how to get the subfolders name in the report.

If i could get this subfolder level report then i will create a new customer port [ copying it ] and use this for my project.
Thanks for your help.

Let me know if you need any more information. I am not a PHP expert and just started learning. I usually work on core java for the past several years. :)
Thanks
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

Re: General test Plan Metrics - second top level report

Post by fman »

to get any kind of help you need to make you code available to community.
My suggestion is that you create a GIT repository on github, this way people will be able to help and your work will return to community.
vettriselvank
TestLink user
Posts: 2
Joined: Sun Nov 22, 2015 10:57 am

Re: General test Plan Metrics - second top level report

Post by vettriselvank »

Sure fman,
I would create a GIT repository on github. I have not done that previously. Let me google and try to configure it. If you have any documentation or steps please forward in mean time.
Also in mean time if you could guide me on the question that would be helpful for me to proceed. :)
Thanks
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

Re: General test Plan Metrics - second top level report

Post by fman »

without the code is impossible
Post Reply