fabro/lib/crates/fabro-test
Bryan Helmkamp 42f8ec271b
test(fabro-test): scrub FABRO_* env from spawned subprocesses
TestContext::command() was inheriting all parent env vars, so a
developer (or CI) running with FABRO_CONFIG set would pollute child
test subprocesses, causing settings_local_* IT tests to fail with
opaque assertion errors.

Iterate std::env::vars_os() and env_remove every FABRO_* key before
re-adding the controlled set (FABRO_NO_UPGRADE_CHECK, etc.). Safe to
iterate because the prior two commits eliminated all std::env::set_var
callers in fabro-cli and fabro-config tests.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-10 08:49:44 -04:00
..
src test(fabro-test): scrub FABRO_* env from spawned subprocesses 2026-04-10 08:49:44 -04:00
Cargo.toml perf(nextest): keep shared test server state in memory 2026-04-07 11:39:40 -04:00