17d49d87

By: Tom Sydney Kerckhove <syd@cs-syd.eu>

Inline test-only helpers per the testing style rule

The testing style guide says: "Avoid helper functions in test modules,
especially if they are only used in one module and not exported.
Instead, prefer to duplicate that code in tests."

Inline the per-module helpers (aTestId, aRecord, chunksToString,
colouredChunksToString, mkRec, scriptedAction, countingOnRetry,
runScripted, asResult, ScriptedOutcome, the example* fixtures, the
is* predicates, skippedCauseId, recordsOf) into the individual 'it'
blocks that consume them.  Local 'let' bindings within a single test
are kept where they avoid duplicating non-trivial setup within that
test.

Suite timing

Time to Start Worker time Duration Time to finish Idle
Config 0s 3s 3s 3s 0s
Eval 3s 36s 36s 40s 0s
Build 10s 14m42s - - 0s
Suite 0s 15m22s - - 6h25m32s

Timeline

0s20s40s1m1m20s1m40s2m2m20s2m40s3m3m20s3m40s4m