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 some tests for the CLI #5

Open
k4nar opened this issue Mar 19, 2015 · 4 comments
Open

Add some tests for the CLI #5

k4nar opened this issue Mar 19, 2015 · 4 comments

Comments

@k4nar
Copy link
Collaborator

k4nar commented Mar 19, 2015

Currently the lib is pretty well covered, but the CLI is not. Some functions like start or edit have some complexity in them so they should be tested.

@k4nar k4nar self-assigned this Mar 19, 2015
@k4nar k4nar mentioned this issue Mar 29, 2015
@willdurand
Copy link
Member

IMO complexity should be extracted from the cli commands, so that it would be easier to test.

@jmaupetit
Copy link
Member

This should be our priority for the next release.

@willdurand
Copy link
Member

I can't agree more. Click lib has a test runner for that.

@jmaupetit
Copy link
Member

Just stumbled upon this: https://pypi.python.org/pypi/pytest_click/0.1 I think this might help.

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

3 participants