mastodon.sdf.org is part of the decentralized social network powered by Mastodon.
"I appreciate SDF but it's a general-purpose server and the name doesn't make it obvious that it's about art." - Eugen Rochko

Administered by:

Server stats:

2.7K
active users

Learn more

argv minus one

famously runs unit tests in parallel. This is usually great, but I have a peculiar situation.

I have a test A, that checks if function A works correctly. I have several other tests B, C, …, that check if functions B, C, … work correctly.

Functions B, C, … call function A. This is a problem because function A could potentially trash the developer's $HOME if it works incorrectly, so it really needs to be tested *first*, and functions B, C, … must not be called if test A fails.

Mar 08, 2025, 23:52 · · · Web · 0 · 0