cancel
Showing results for 
Search instead for 
Did you mean: 

Reporting - JUnit - Includes test cases being called by other test cases in test count

LGatgfs
New Contributor

Reporting - JUnit - Includes test cases being called by other test cases in test count

Hi all,

 

It seems ReadyAPI reporting functionality has changed over the years. Previously, JUnit style reports only reported on tests that were explicitly initiated, whether at the project level, suite level or test case level. Now it seems any test case that is called from the original test case is also included in the count.

 

Lets say for example we have two test cases, one, named testcase1, is a data driven test case that consists of a number of test steps including a step that calls the other test case. The other test case, testcase2,  resides in a test suite that is disabled and is only ever called from testcase1. When I run testcase1 using testrunner.bat with the junit switches set (-j and -J), I expect to only see one result, testcase1 either passed or failed. However, the number of results returned includes the result for testcase1 + the results for testcase2 wherever it is called.

 

Is there any way of reverting this behaviour as I preferred the original approach of reporting on tests that are explicitly initiated only?

 

Regards,

Daniel.

3 REPLIES 3
LGatgfs
New Contributor

Re: Reporting - JUnit - Includes test cases being called by other test cases in test count

BTW, I have ReadyAPI 3.6.0

nmrao
Community Hero

Re: Reporting - JUnit - Includes test cases being called by other test cases in test count

You may open a support ticket for the same.


Regards,
Rao.
LGatgfs
New Contributor

Re: Reporting - JUnit - Includes test cases being called by other test cases in test count

Cheers @nmrao. Ticket raised.

New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors