[Seaside] SeasideTesting: Access session from component
C. David Shaffer
cdshaffer at acm.org
Sun Jan 13 21:08:33 UTC 2008
Schwarz, Jan-Felix wrote:
> I want to use SeasideTesting to test my components. I have overriden the Session class and access the customized session class from my components. Application runs fine in web browser.
> While excecuting the test cases I get errors because calling session from the component returns UndefinedObject. I know I get the session by calling 'self session' from the test class. But for reasonable unit testing I need my component's methods to work properly. Anyone knows how to fix this problem?
> Sorry for my bad English. Thanks for your help.
Then just search for the text "sessionClass". If that doesn't help, let
More information about the seaside