in reply to Re^4: Inscrutable test failure
in thread Inscrutable test failure

My point was that your test results will always remain reproducible when you use fixed timestamps.

But your explanation also showed me another aspect that I hadn't fully grasped yet - using timestamps in GMT will always need careful adaption to the local timezone because the (calendar) date will be different between the two timezones.

Replies are listed 'Best First'.
Re^6: Inscrutable test failure
by dsheroh (Monsignor) on Oct 26, 2007 at 22:23 UTC
    Yeah... That (calendar) date issue is why I introduced Date::Manip and dynamically-determined dates to the tests in the first place. I'd really like to get rid of it without either introducing dependencies on which timezone the test is run in or reproducing the is_weekday logic in the test (which seems like it would defeat the test's purpose, since it would also reproduce any bugs in the original), but I have no idea how to do so.