in reply to
Passing data between modules using Test::Class
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?