I am writing a test framework in Java. The framework would run a bunch
of ruby scripts.
The scripts should be independent (they should not share any global
variables). They would only share a single Java object with some data
concerning my system under test.
The thing is that it seems that the variables from inside the script
are not garbage collected, and after executing several tests I run out
The code for the looks as follows:
MyTestContext testCotnext = Â new MyTestContext();
ScriptingContainer engine = new ScriptingContainer(
Â String test = getNextTest();
Â engine.put("$c", testContext);
Is there a way to reset the ScriptingContainer so that the remains of
the previous executions get garbage collected?
To unsubscribe from this list, please visit: