-
-
Notifications
You must be signed in to change notification settings - Fork 22
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
Add test for '--help' option parser #56
Comments
Hi. So I have a looked a bit on this and I have a question. |
@CThuleHansen You understand the required changes correctly with only a single change 😌
This way, in tests, we can construct As I write this, I realise that it'll require to move |
Okay, so I am approaching the target at https://github.com/CThuleHansen/iris and here is a small status and a few questions. When I run my test, then Question: What to pass for I am not getting the option for |
I see the dilemma. Putting I'm generally against generic modules like
Indeed, this is the
The |
Pull-request created: #68
Yes, they certainly do.
I should have found this, thanks :) |
It would be nice to test that the
--help
option by default outputs what we want. And it's also nice to see what changes when we change default parsers.So I propose to add a test that parses the
--help
option and compares it with the expected output of this option.The plan is:
Test.Iris.Cli
where the new test will livecmdParserInfo
fromIris.Env
toIris.Cli
--help
option using execParserPure fromoptparse-applicative
The text was updated successfully, but these errors were encountered: