I tried the obvious, i.e. define a foo() accessor in the base Service class, and then use set/get in Service_A/Service_B respectively, but this does not work.
The reason being that Service_A and Service_B tests would be run on different objects that don't share state.
I was wondering if any of you have come across this problem, and found a way out, preferably using Test::Class and if not, what is the best way to solve this.
Without more information on the relationship between the service objects it's hard to tell. Can you show what/why Service_B needs Service_A's test results?
In reply to Re: Passing data between modules using Test::Class
by adrianh
in thread Passing data between modules using Test::Class
by arc_of_descent
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |