ethersphere / user-stories

Repository for maintaining user stories
5 stars 32 forks source link

[EPIC] Network Testing Framework #33

Open FantasticoFox opened 5 years ago

FantasticoFox commented 5 years ago

Rationale

As a swarm developer I would like to target my tests against remote swarm nodes by using the simulation framework.

Owner

Rafael @skylenet

Stakeholder Point of Contact

Communication Track: Louis, Oskar (Status) Incentive Track: Fabio, Vojtech (OIVLabs)

Description

Context

Swarm has a simulation framework used to run integration tests across multiple swarm nodes. This only works on a single machine using an 'in process' adapter. This provides a fast feedback loop.

Swarm also has helm charts which can be used to deploy a swarm cluster within kubernetes. Once a cluster is deployed, we can run smoke tests to verify that the basic components are working as intended. This has a slower feedback loop than the simulation framework but is more powerful in terms of logging/metrics aggregation.

It would be good if we could have a mix of both, meaning that a developer can write the simulations locally (in process adapter), and once he/she feels comfortable with the test, we can switch to a remote adapter and run the same test against remote auto generated nodes.

Acceptance criteria

Bonus

Nice to have:

Proof

FantasticoFox commented 5 years ago

Please Rafael - rework the EPIC and assign User-Stories :) @skylenet