Forum Discussion

alibaba82's avatar
alibaba82
Super Contributor
16 years ago

Interactive Setup/Teardown script

Hello,
While working with setup/teardown script, I typically am calling other testcases or testsuites or sometimes groovy functions.

would it be possible to make setup/teardown interactive so the besides writing groovy scripts, we can also select testcases/testsuites from some menu as teardown/setup

Thanks

Ali

3 Replies

  • omatzura's avatar
    omatzura
    Super Contributor
    Hi Ali,

    If I understand you correctly you would like to run other TestCases/TestSuites from inside your setup/tearDown scripts?

    We could add methods for this to GroovyUtils, ie

    groovyUtils.runTestCase( .. )

    ?

    regards,

    /Ole
    eviware.com
  • alibaba82's avatar
    alibaba82
    Super Contributor
    ya... that would be sufficient.  As long as I can select any testcase in the project via groovyUtils.runTestCase...

    Ali