Configuration and time · rule
configuration.test_value_missing
Setting read by a test has no value in tests.
Area 10, Configuration and time; not declinable; the next step is usually the agent's.
A test reads each setting's test: value, or its default; this one has neither:
type Greeting = Text { max_length: 80}config { greeting: Greeting}function hello() -> Greeting { return config.greeting}test "the greeting is read" { assert hello() == "hello"}
error: `config.greeting` has no value in tests --> main.jadpo:10:12 |10 | return config.greeting | ^^^^^^^^^^^^^^^ no `test:` or `default:` reason: The test "the greeting is read" reaches this read. A test reads each setting's `test:` value, or its `default:`, and `greeting` has neither; only a secret is made up for a run, and `greeting` isn't one. next: Give `greeting` a `test:` value, or a `default:`, in `config.jadpo` (agent) rule: configuration.test_value_missing help: https://jadpo.dev/docs/errors/configuration.test_value_missingcheck failed: 1 error, 1 file
Markdown for agents: /docs/errors/configuration.test_value_missing.md.Built from Jadpo main at a707efb.