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

Ensure that documents sync after initialization #45

Open
Tracked by #13
MaddieM4 opened this issue Oct 14, 2013 · 1 comment
Open
Tracked by #13

Ensure that documents sync after initialization #45

MaddieM4 opened this issue Oct 14, 2013 · 1 comment
Milestone

Comments

@MaddieM4
Copy link
Owner

After initializing from any source, a document ought to sync to its current state in the network.

@MaddieM4
Copy link
Owner Author

Plan of attack:

  • Set up one or more clients with a single router
  • Each client starts with a basic transformable document
  • Apply multiple changes via one of the existing clients
  • Create a new client with the same starting point.
  • Assert that after initialization, client is in the same state as any/all existing ones.

State to take into account:

  • Document serialization

Ideally, we want to run the same test with different initial scenarios. So wrap most of the code in an assertSomething() function, maybe have the client setup in its own function as well, to make the code in the individual tests fairly high-level and low-boilerplate.

MaddieM4 added a commit that referenced this issue Jan 24, 2014
MaddieM4 added a commit that referenced this issue Jan 24, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant