Forum Discussion

larsn's avatar
larsn
Contributor
11 years ago

add ability to nest test suites

(I searched to see if someone has already requested this but didn't find anything ...)

add ability to nest test suites

4 Replies

  • Hi,

    You can create multiple test suites in a project, please give more details of why they would need to be nested.



    Regards,
    Marcus
    SmartBear Support
  • It is nice to be able to group all tests of certain types together, it makes viewing and finding tests easier. (Granted, having tags is useful too, when wanting to associate tests multiple ways across test suites - but that is a different feature request.)

    For example, I have two test suites, one of positive test using the payment action and another of negative tests. It would be nice to group both test suites into an enclosing test suite of payment tests and then be able to do this for each type of action.
  • Hi,

    I sort of see what you are saying from a GUI standpoint, but from a functionality point of view it would be better if you put the applicable test suites in the same project and separate the other ones in different projects. If you have more strong reasons of why this should be incorporated then please share.


    Regards,
    Marcus
    SmartBear Support
  • ustim80's avatar
    ustim80
    Occasional Contributor
    We have the same problem with structure our test cases.
    I need to separate my regression test cases, release test cases and helpers inside project.
    It was very helpful if we can nest test suites because it will be soon difficult to take an overview about testcases in our project.

    For Example:

    HelpersSuite
    |-APIHelpers
    |-CreateOrder
    |-RemoveOrder
    |-AssertionHelpers
    |-CheckOrder
    |-CheckCustomer
    ...

    RegeressionTestSuite
    |-CreateOrdersTS
    |-CreateNewOrderTC1
    |-CreateNewOrderTC2
    ...
    |-CreateNewOrderTCn
    |-RemoveOrdersTS
    |-RemoveOrderTC1
    |-RemoveOrderTC2
    ...
    |-RemoveOrderTCn

    ReleaseTestSuite
    |-CreateOrdersTS
    |-CreateNewOrderTCn+1
    |-CreateNewOrderTCn+2
    ...
    |-CreateNewOrderTCm
    |-RemoveOrdersTS
    |-RemoveOrderTCn+1
    |-RemoveOrderTCn+m
    ...
    |-RemoveOrderTCn+m