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

Test a deployed/production API #7

Closed
poliveira89 opened this issue Mar 12, 2016 · 1 comment
Closed

Test a deployed/production API #7

poliveira89 opened this issue Mar 12, 2016 · 1 comment

Comments

@poliveira89
Copy link

Seems that this library needs an object of the server/application to be passed to hippie(...) function.

I'm able to use hippie-swagger to create automated tests for an remote deployed API? If I can, how I can I do it?

Because as far I have analyzed the app argument is highly coupled in to the code:
https://github.com/CacheControl/hippie-swagger/blob/master/lib/hippie-swagger.js#L24

@CacheControl
Copy link
Owner

@poliveira89 Great point! Thank you for bringing this to my attention. I generally don't use the remote api testing capabilities of hippie, and I'd completely forgotten about the feature.

I've published 1.3.0, which allows the 'app' argument of the constructor to be optional. Documentation has been added to the README

Let me know if you run into any issues. Cheers!

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

No branches or pull requests

2 participants