Open kazurayam opened 4 years ago
https://forum.katalon.com/t/what-is-the-scope-of-globalvariables/42378 raises an interesting question.
A Test Suite Collection has 2 mode of execution:
If a Test Suite Collection executes child Test Suites in Parallel mode, how the GlobalVarialbes are persisted by each indivisual Test suites? Does the GlobalVariables collide each other?
In the ver 1.19.5
com.kazurayam.visualtesting.VisualTestingListenerImpl
class has such code fragment:These codes are very important. But difficult to explain to others. Too messy for others to understand.
I should make a new class
com.kazurayam.visualtesting.GlobalVariablesPersistence
. I should move these code into the GlobalVariablesPersistence class. I should write unit-tests for the new class. And I should write clear description about the class; what it is designed for.