dxos / gravity

System testing frameworks.
GNU Affero General Public License v3.0
1 stars 1 forks source link

Testing frameworks. #3

Open richburdon opened 3 years ago

richburdon commented 3 years ago

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:

richburdon commented 3 years ago
dboreham commented 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.