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

Collab implementation tests #240

Open
2 of 4 tasks
mweidner037 opened this issue Feb 21, 2023 · 2 comments
Open
2 of 4 tasks

Collab implementation tests #240

mweidner037 opened this issue Feb 21, 2023 · 2 comments
Labels
package:core core package package:crdts crdts package tests

Comments

@mweidner037
Copy link
Collaborator

mweidner037 commented Feb 21, 2023

  • Unit tests for all Collab operations. (We have these for many CRDTs but not all).
  • Unit tests for saving and loading.
  • Fuzz tests for Collab operations (do many ops concurrently and check eventual consistency).
  • Fuzz tests for saving and loading with parallel operations.
@mweidner037 mweidner037 added tests package:core core package package:crdts crdts package labels Feb 21, 2023
@mweidner037 mweidner037 self-assigned this Feb 22, 2023
@mweidner037
Copy link
Collaborator Author

mweidner037 commented Mar 30, 2023

#245 adds tests for most CRDT operations, including most interesting concurrent pairs.

Still needs:

  • Unit tests of every method (especially accessors). See npm run coverage's HTML report.
  • Event tests
  • Non-CRDT tests, especially core features like serializers. (Note that crdt's coverage report doesn't count core code, but the crdt tests do exercise a lot of it.)

@mweidner037
Copy link
Collaborator Author

  • Tests with multiple messages in the same transaction, to make sure latter ones overwrite the former despite equal causal timestamps. (Esp. CVar, CRichText).

@mweidner037 mweidner037 removed their assignment Jul 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package:core core package package:crdts crdts package tests
Projects
None yet
Development

No branches or pull requests

1 participant