I want to launch certain test cases depending on the environment offered by the databases, that is, depending on the type of data that I bring, of its characteristics … But I want to avoid launching empty tests from sentences If
If I do this inside a master Test Case
if (GlobalVariable.type==tipousuario){
WebUI.callTestCase(findTestCase('test_folder/setup'), [:], FailureHandling.STOP_ON_FAILURE)
WebUI.callTestCase(findTestCase('test_folder/login'), [('password') : password, ('username') : username
,('tipousuario') : type, FailureHandling.STOP_ON_FAILURE)
}
I need to bind variables on a Test Suite, which forces the program to launch empty tests when the conditions are not met.