Forum Discussion

wjs2634's avatar
wjs2634
New Contributor
5 years ago

Need to split a composite project but still share the same set of API definitions and Environment

I have a huge composite project that now have 3000+ test cases, more are comming.

IDE is getting to0 slow, is there any way to split the project but still share the same set of API definition and test Environment settings?

 

Also there is single shared script library and 1 shared testSuite with some testcase that would perform routing task for other testSuite/testCase, these also need to share across project.

 

Desperately need a solution.

  • 1. Never used composite. So not aware how does it work.
    2. This input is considering non-composite project. How about splitting it into different project based on the functionality ? In another words, use same API definitions, use one test suite in a project.
    For example there are 10 suites. Have 10 copies of the project and keep only one suite in each project, name the project according to the suite.
    Disclaimer: this works better if no frequent changes in API definitions. otherwise efforts will increase to update the definitions.

    Now the question is executing the tests. Execute them one after another in commandline using testrunner utility or keep all those in a batch file, and you need to just hit one command.
  • nmrao's avatar
    nmrao
    Champion Level 3
    1. Never used composite. So not aware how does it work.
    2. This input is considering non-composite project. How about splitting it into different project based on the functionality ? In another words, use same API definitions, use one test suite in a project.
    For example there are 10 suites. Have 10 copies of the project and keep only one suite in each project, name the project according to the suite.
    Disclaimer: this works better if no frequent changes in API definitions. otherwise efforts will increase to update the definitions.

    Now the question is executing the tests. Execute them one after another in commandline using testrunner utility or keep all those in a batch file, and you need to just hit one command.
    • sonya_m's avatar
      sonya_m
      SmartBear Alumni (Retired)

      nmrao, great advice, thanks! 

       

      Hi wjs2634 , did you get a chance to try out nmrao’s approach?