Configurable Variables Resolved Before Test Setup: ballerina/test setEnv and Config.toml Precedence
Ballerina configurable variables are resolved during module initialization. In an integration test that must avoid production credentials, a common approach is to use ballerina/test 's setEnv and unsetEnv functions, or a test-specific Config.toml , to supply substitute values. A failure condition arises when test setup runs after configurable resolution: a t