Configuration
Ogoron configuration lives under the project artifacts directory:
.ogoron/configs/
Typical files include:
config.yml— main repository configuration for generated tests and helperstest_execution.yml— howogoron run tests(and test-running workflows) execute tests
Quick start
Minimal setup:
- Run
ogoron init - Set
OGORON_KEY - Review
.ogoron/configs/config.yml - Run
ogoron analyze
Common fields
Most repositories only need a few fields in config.yml:
paths.tests— where Ogoron generates and updates testspaths.helpers— where shared generated helpers/support code should be writtentest_codegen.test_file_template— file naming template for generated test filestest_codegen.helpers_file_template— file naming template for generated helper files
Precedence
When a setting can be defined in multiple places, precedence is:
.ogoron/configs/config.yml- environment variables
- defaults
Path resolution
When config.yml (or a path environment variable) contains a relative path, Ogoron resolves it against the repository root.
Empty values are ignored.
Environment variables
Required:
OGORON_KEY
Optional (paths overrides):
OGORON_TESTS_PATHOGORON_SUPPORT_PATH
Optional (output formatting):
OGORON_PLAIN(also enabled automatically whenCI=true)OGORON_NO_COLOR(also respectsNO_COLOR)
Optional (networking):
HTTP_PROXY,HTTPS_PROXY,NO_PROXY(and lowercase variants)
Validate after changes
After editing configs, validate:
ogoron init validate