Closed pablochacin closed 1 year ago
I have addressed your concerns regarding the use of namespaces in the helpers:
createRandomNamespace
functionTODO: We need to try to find a way for the example scripts to be executed in the build pipeline as some sort of integration test.
TODO: We need to try to find a way for the example scripts to be executed in the build pipeline as some sort of integration test.
Totally agree. There is issue #48. I just added a comment on how e2e tests are implemented in xk6-disruptor. We could use that for running scripts as e2e tests.
This change set introduces helpers to facilitate common tasks when setting tests in Kubernetes.
It also introduces a set of structured operations that work on typed objects (e.g. Pods) as opposed to unstructured operations that work on generic objects. These structured operations are intended for the helpers, to avoid the complexity of manipulating generic objects in go.