weaveworks-experiments / kspan

Turning Kubernetes Events into spans
Apache License 2.0
785 stars 56 forks source link

Capture and playback of events for testing #32

Closed bboreham closed 3 years ago

bboreham commented 3 years ago

So we can record a sequence of inputs (coming from k8s api-server) then create unit tests by playing them back.

Note the "capture initial state" code in this PR is incomplete, because #2 has a better way of doing it but I am merging the work done for #2 in stages.