Elektrine lite

← Feed

@jmax@mastodon.social

Post #1434205

2026-04-19 10:39 UTC

@liketechnik @gsuberland @jdm_ @servo So, would you use something like https://rubygems.org/gems/timecop

Replies (2)

  • @liketechnik@chaos.social 2026-04-19 11:39

    @jmax Yes, something like that. Although I just realised this is more or less what @gsuberland described, just with the extra step of "I'm testing my tests" 🙃 @gsuberland @jdm_ @servo

    Open ##1434206

  • @jmax @liketechnik @gsuberland @jdm_ @servo I like to use TimeCop to randomize both the current time and local timezone separately for each test. Found lots of time-dependent bugs that way, and quite a few unreliable tests

    Open ##1434208