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 options and bring to 100% code coverage. #21

Merged
merged 1 commit into from
Jan 4, 2017
Merged

Add options and bring to 100% code coverage. #21

merged 1 commit into from
Jan 4, 2017

Conversation

sholladay
Copy link
Contributor

Hi @vadimdemedes, great project!

These changes will enable me to use google-images in an app where image search is a core feature and thus I need users to be able to control the search criteria a bit more.

The tests are just copy/paste + the obvious tweaks for the relevant query parameter.

@vadimdemedes
Copy link
Owner

Thank you, @sholladay!

I like this PR, great stuff!

Could you add a few examples to the "Usage" code in the readme?

@sholladay sholladay changed the title Add more search options. Add options and bring to 100% code coverage. Dec 15, 2016
This provides more parameters relevant to image search. In addition to covering those, we now have 100% code coverage from tests, including cases where the user does not provide a search query and when the query returns no results.
@sholladay
Copy link
Contributor Author

Updated the PR with full API documentation for everything. How's that @vadimdemedes?

Also tested a few more edge cases, bringing coverage up to 100%.

Doubled the total line count in the repo. 😎

@vadimdemedes
Copy link
Owner

Superb work, @sholladay! Thank you and sorry for such a late response!

@vadimdemedes vadimdemedes merged commit 75862c5 into vadimdemedes:master Jan 4, 2017
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