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

Add tools for testing of command line parsers #10

Open
3 tasks
larskuhtz opened this issue Jan 29, 2015 · 1 comment
Open
3 tasks

Add tools for testing of command line parsers #10

larskuhtz opened this issue Jan 29, 2015 · 1 comment
Milestone

Comments

@larskuhtz
Copy link
Member

We should provide some infrastructure that makes it easy to test command line parsers:

  • Given a list of command line arguments and an input and output value check that the applying the
    parser has the intended effect.
  • If an arbitrary instance exists for the configuration type we can check that the parser has the intended
    effect for arbitrary default values.
  • Using optparse-applicative function to list all options check coverage
@larskuhtz larskuhtz added this to the 0.3 milestone Jan 29, 2015
@larskuhtz
Copy link
Member Author

Part of this is already implemented in test/TestTools. But it would need some cleanup before it can be exposed in the library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant