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

How can we cover unit testing for the library? #8

Open
jgeewax opened this issue Jan 24, 2014 · 2 comments
Open

How can we cover unit testing for the library? #8

jgeewax opened this issue Jan 24, 2014 · 2 comments
Labels
Milestone

Comments

@jgeewax
Copy link
Owner

jgeewax commented Jan 24, 2014

Right now, the only way to develop this is by hitting the live Cloud Datastore API. Is there a way we can use these API calls in unit tests without mocking?

Can we have a "local datastore" server that understands the API and makes it easy for local development?

@x1ddos
Copy link

x1ddos commented Feb 10, 2014

Use gcd dev server?

@jgeewax
Copy link
Owner Author

jgeewax commented Feb 10, 2014

Having a conversation over here: googleapis/google-cloud-python#2

I think the issue really is more about in-memory testing -- a stub service would be really nice to expose (along the lines of how dev_appserver.py in App Engine does it) like with google.appengine.ext.testbed.

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

2 participants