Hello,
  i am testing a  module for a web application and i need to test the
expiration of sessions. The problem is that i can not modify the
expiration time and i not want to make sleep the test for the full
length of expiration time (a hour). 
So, the natural solution appears to be mangling the system's time.
I had do it with system calls but i am searching a more cleaner way. I
tried the Time::Warp module but i had not found a way to modify the time
function inside the module to be tested as opposed to the test script
itself.

Can anyone give me pointers or advice about how to perform this type of
tests?

Cheers,
  Javier

Reply via email to