simile test as the parent process for an integration test command. Simile binds the emulator,
exports its address and selected profile, and exits with the test command’s status. CI receives one
result without background-process scripts or readiness polling.
A portable job
This shell sequence works in most CI systems:register compiles the Simfile before tests begin. setup provisions the caller identity declared
by the service. The test process reads SIMILE_BASE_URL and any issued values such as API_KEY.
If the service has no principal setup, the shorter flow is enough:
Isolate jobs and workers
Give each independently running job its own Simile home:- a fresh registry and service database;
- independent idempotency and causal history;
- no port collision, because
simile testuses an available port; and - predictable cleanup when the CI workspace is discarded.
Make failures reproducible
Use named scenarios for documented business outcomes:SIMILE_HOME: it may contain issued credentials and collected setup values.