Skip to content

Conversation

@manusa
Copy link
Member

@manusa manusa commented Dec 5, 2025

Relates to #524 #548

test(config): add drop-in configuration tests for toolset configs

Add equivalent drop-in configuration tests for toolset_config_test.go
that were added to provider_config_test.go

test(cmd): add --config-dir drop-in configuration tests

Add CmdSuite with TestConfigDir to test the --config-dir flag behavior

Add equivalent drop-in configuration tests for toolset_config_test.go
that were added to provider_config_test.go in the recent commits:
- TestConfigDirPathInContext
- TestExtendedConfigMergingAcrossDropIns
- TestExtendedConfigFromDropInOnly
- TestStandaloneConfigDirWithExtendedConfig
- TestConfigDirPathInContextStandalone

Signed-off-by: Marc Nuri <[email protected]>
Add CmdSuite with TestConfigDir to test the --config-dir flag behavior:
- Standalone config-dir loading
- Error when config-dir path is a file
- Graceful skip for nonexistent directories
- Merging with main config via --config flag
- Lexical ordering of multiple drop-in files
- CLI flags taking precedence over config-dir values

Signed-off-by: Marc Nuri <[email protected]>
@manusa manusa added this to the 0.1.0 milestone Dec 5, 2025
Copy link
Collaborator

@Cali0707 Cali0707 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Cali0707 Cali0707 merged commit 2dbdffc into containers:main Dec 5, 2025
6 checks passed
@manusa manusa deleted the test/drop-in branch December 5, 2025 16:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants