Forum Discussion

gilugopi's avatar
gilugopi
Contributor
10 years ago

TestSuites set for parallel execution never finish if all test cases within are disabled

This is more of a cosmetic issue, but sometimes I run into this issue accidentally.

 

If test suite is configured for parallel execution of test cases and if all test cases within are disabled, ideally this test suite should not be run at all. But Ready API 1.4.0(and perhaps all previous versions as well) tries to run this test suite and gets stuck. In other words test run never finishes. If the test suite itself is disabled, then this issue won't occur.

 

Sometimes while working with large projects with a number of test suites, I sometimes disable test cases within to avoid a known issue and sometimes this causes ending up disabling all test cases in a small test suite. 

 

But when I try to run all test within a project, this causes the test run to never finish.

 

 

Steps to reproduce

1. Create a simple project with two test suites.

2. Configure at least one test suite to run test cases in parallel.

3. Disable all test cases within this test suite(one mentioned in point 2)

4. Select the project and click Run

 

The test suite with all test cases disabled never finishes the test run.

 

Please see whether this deserves a fix, not urgent at all but still "a nice to have" fix in my humble opinion

 

Thanks & Regards,

Gilu Gopi

  • TanyaYatskovska's avatar
    TanyaYatskovska
    SmartBear Alumni (Retired)

    Hi Gilugopi,

     

    I’ve reported such behavior to our R&D team. I’ll let you know when I have some news from them.

    • TanyaYatskovska's avatar
      TanyaYatskovska
      SmartBear Alumni (Retired)

      Hi, 

      Our Dev Team has updated me that this issue will be fxied in the next product update. Thanks for reporting the issue.