In integrated testing (Maintain test case context), the input values for static local variables are not applied.
Static local variables are declared within a function but retain their values until the program terminates and are initialized only once. Due to this characteristic, integrated testing (Maintain test case context) initializes the value only for the test case that first calls the static local variable.
To initialize the static local variable for each test case, use unit tests or disable the [Maintain test case context] option.
Need more help with this?
Don’t hesitate to contact us here.