Open richburdon opened 3 years ago
Evolve spawn-testing to use common network abstraction as https://github.com/dxos/mesh/tree/master/packages/feed-replication-network (or similar).
Not trivial due to different layer/semantics for network interaction, see https://github.com/dxos/gravity/issues/8 for discussion. Compatibility the other direction (use NetworkManager everywhere but adapt it to do what feed-replication-network allows, may be the better approach.
We have a complex stack and many different micro-frameworks for testing these. The goal is to create a unified testing framework that is adaptable to isolate different parts of the stack (e.g., network, replication, parties, item/model consistency, etc.) And to create simulations to stress test the system.
Currently https://github.com/dxos/sdk/tree/master/testing/spawn-testing implements the most general testing framework.
For discussion:
@dxos/gem
to visualize tests (and demonstrate them via docs).