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

Any good way to unit test the command line interface? #156

Open
amoodie opened this issue Mar 9, 2021 · 0 comments
Open

Any good way to unit test the command line interface? #156

amoodie opened this issue Mar 9, 2021 · 0 comments
Labels

Comments

@amoodie
Copy link
Member

amoodie commented Mar 9, 2021

There's not really any good way to unit test the command line interface.

We test the heck out the Python preprocessor, which covers a lot of the same code that the CLI preprocessor uses, but doesn't capture the very initial parts where command line arguments are parsed, given default values, and sometimes removed from the config dictionary.

We currently don't have any real unit tests covering this chunk of code, which leads to bugs like #154

@amoodie amoodie added the testing label Mar 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant