Skip to content

tests: enforce argument stability#134

Merged
noahp merged 2 commits intomasterfrom
noahp/enforce-arg-stability
Dec 3, 2025
Merged

tests: enforce argument stability#134
noahp merged 2 commits intomasterfrom
noahp/enforce-arg-stability

Conversation

@noahp
Copy link
Collaborator

@noahp noahp commented Dec 3, 2025

Inadvertently broke usage here:

#127

Add tests to enforce the current arguments, so we have to intentionally
break them.

Inadvertently broke usage here:

#127

Add tests to enforce the current arguments, so we have to intentionally
break them.
Copilot AI review requested due to automatic review settings December 3, 2025 17:40
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds comprehensive integration tests to enforce backward compatibility of command-line arguments used by external tools (e.g., Zephyr build system). The tests verify that critical CLI arguments maintain their exact names and both underscore (_) and hyphen (-) formats continue to work correctly, preventing inadvertent breaking changes.

Key changes:

  • Added tests/test_arguments.py with 8 test methods covering all critical CLI arguments
  • Tests verify both argument format variants (underscore/hyphen) are accepted
  • Includes an integration test validating all critical arguments work together

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@noahp noahp merged commit b3c02c9 into master Dec 3, 2025
19 checks passed
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