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

Investigate mocking RethinkDB for dev/test #13

Open
NPrescott opened this issue Apr 6, 2016 · 1 comment
Open

Investigate mocking RethinkDB for dev/test #13

NPrescott opened this issue Apr 6, 2016 · 1 comment

Comments

@NPrescott
Copy link
Contributor

RethinkDB is required to even start the server at this point, which is a problem if you only want to work on the socket.io functionality. Can we disable the database and use static data or in-memory storage instead?

This may become important for unit testing and CI.

@dbuentello
Copy link
Member

this one will be tricky but fun. I think we should models structured out first then do some simple tests with them. I did some research a while ago and I ran into http://lokijs.org/

  • In memory and fast
  • has changes API for realtime data

If I find any others, I'll post them here

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