integrity-tf / integrity

Integrity Test Framework - a sophisticated integration test automation framework for Java
http://www.integrity-tf.org
Eclipse Public License 1.0
13 stars 6 forks source link

Add "output parameters" to suites to allow for return values without having to use global variables #42

Closed S1artie closed 8 years ago

S1artie commented 8 years ago

Sample:

packagedef mypackage with

    suitedef asuite with        
        variable outputValue1
        variable outputValue2

        suite bsuite outputValue1 -> outputValue2 outputValue2 -> outputValue1

        call echoCall echo: outputValue1
        call echoCall echo: outputValue2        
    suiteend

    suitedef bsuite gets inputValue returns outputValue1 outputValue2 with  
        constant testConstant

        assign "123" -> outputValue1
        call echoCall echo: "456" -> outputValue2   
    suiteend

packageend