Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose ArgumentParserTestHelpers #303

Closed
wants to merge 1 commit into from
Closed

Expose ArgumentParserTestHelpers #303

wants to merge 1 commit into from

Conversation

miggs597
Copy link
Member

It would be nice to have access to ArgumentParserTestHelpers, this would allow SwiftPM to use AssertHelp to prevent regression.

Checklist

  • I've added at least one test that validates that my change is working, if appropriate
  • I've followed the code style of the rest of the project
  • I've read the Contribution Guidelines
  • I've updated the documentation if necessary

@natecook1000
Copy link
Member

We aren't ready to maintain that module as public API yet — for testing a command's help output, you can use the static helpMessage(for:) on any ParsableCommand type.

@miggs597 miggs597 deleted the exposeTestHelpers branch April 26, 2021 20:52
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.

None yet

2 participants