Is there a way for area variables for Test :: More tests in a .t file? For instance:
# 1st Test $gotResult = $myObject->runMethod1(); $expectedResult = "value1"; is($gotResult, $expectedResult, "validate runMethod1()");
I am looking for a way to discretely manage individual tests in a .t file, so no conflicts / errors are introduced if variable names are reused between tests.
Sal.
source share