DEV Community

Ambrose Little
Ambrose Little

Posted on

Moria Tests

I've recently run across some unit tests that may fail 1) if in the wrong time zone or 2) at the wrong time of day. The latter tests don't immediately appear to have anything to do with time, even.

So I've decided to dub these tests "Moria Tests." This is an allusion to Tolkien's door to Moria that the Fellowship had to arrive at at a precise time in relation to astral phenomena. Any test that is fragile in these ways will henceforth be known thusly by me.

You are hereby granted license to do so as well, without any attribution. And if someone else has already so dubbed them, I apologize and claim ignorance. Must be the universal subconscious at work..

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

AWS Security LIVE!

Hosted by security experts, AWS Security LIVE! showcases AWS Partners tackling real-world security challenges. Join live and get your security questions answered.

Tune in to the full event

DEV is partnering to bring live events to the community. Join us or dismiss this billboard if you're not interested. ❤️