Run a Sub Test - campsych/concerto-platform GitHub Wiki
There two ways to execute a sub-test in your flow:
- add a node that is based on a selected test
- use the runTest node
Both options have their pros and cons.
Creating a node based on a selected test allows you to use the test wizard defined for a given test. This simplifies the way in which port values are set, but to use it effectively, you need to know which test it is going to be. This means the test can’t be changed at run-time.
When using the runTest node, you won’t be able to use test wizards specific to the test because the test that will be used before execution can be changed at run-time.
The runTest node will pass any dynamic input ports provided to the underlying source test. It will also set the values of dynamic return ports. In both cases the names of the ports need to match each other.