Skip to content

Use explicit return_all_keys flag; expand tests - #35

Merged
MikeGarde merged 1 commit into
feat/run-commandfrom
fix/no-wildcard-match
Jul 20, 2026
Merged

Use explicit return_all_keys flag; expand tests#35
MikeGarde merged 1 commit into
feat/run-commandfrom
fix/no-wildcard-match

Conversation

@MikeGarde

Copy link
Copy Markdown
Owner
  • Change get_value.rs to use the explicit return_all_keys flag to determine if all env keys should be returned, instead of inferring from target_keys being empty.
  • In tests/debug.rs, add integration tests to verify dotenv CLI debug output includes keys, file paths, and option assembly; ensure debug surfaces wildcard handling and JSON-defaulting behavior; validate file insights during validation and the exact pre-run command; confirm messages about skipping a variable already set in the environment.
  • In tests/wildcard.rs, add a comprehensive wildcard test suite covering prefix, suffix, and middle wildcards with JSON-key outputs; ensure nested variable resolution, empty JSON object when no matches, and that --no-json disables expansion; verify failures for missing literals; deterministic environment via tests/.env.test.

@MikeGarde
MikeGarde changed the base branch from main to feat/run-command July 20, 2026 02:51
- Change get_value.rs to use the explicit return_all_keys flag to determine if all env keys should be returned, instead of inferring from target_keys being empty.
- In tests/debug.rs, add integration tests to verify dotenv CLI debug output includes keys, file paths, and option assembly; ensure debug surfaces wildcard handling and JSON-defaulting behavior; validate file insights during validation and the exact pre-run command; confirm messages about skipping a variable already set in the environment.
- In tests/wildcard.rs, add a comprehensive wildcard test suite covering prefix, suffix, and middle wildcards with JSON-key outputs; ensure nested variable resolution, empty JSON object when no matches, and that --no-json disables expansion; verify failures for missing literals; deterministic environment via tests/.env.test.
@MikeGarde
MikeGarde force-pushed the fix/no-wildcard-match branch from 85c6ebb to da39d30 Compare July 20, 2026 02:58
@MikeGarde
MikeGarde merged commit c76c41b into feat/run-command Jul 20, 2026
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.

1 participant