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

[Documentation request] Guide for tests #1

Open
quantuminformation opened this issue Jun 6, 2015 · 2 comments
Open

[Documentation request] Guide for tests #1

quantuminformation opened this issue Jun 6, 2015 · 2 comments

Comments

@quantuminformation
Copy link
Contributor

I notice that we can run the dummy app and make changes to the live database. I was wondering if we could agree on a future proof testing approach. Is there a way to create a sandbox environment on parse that is set to a known state each time tests are run?

Note I tried running the tests and get this:
image

@gcollazo
Copy link
Contributor

gcollazo commented Jun 7, 2015

I've been thinking for some time about how to do tests and I think that a good starting point would be to test agains the official parse javascript library.

As for testing against real parse servers, what we could do is create a cloud code function that resets all data on the parse side before running tests.

@quantuminformation
Copy link
Contributor Author

Good idea in regards to cloud code. We could create a folder inside this
repo for the CC project too.

Kind regards
Nikos

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