Open MichaelWasher opened 3 years ago
Rewrite this in Python so it should be pretty straightforward to write tests and just overwrite the target-asset for each of the resources. Then a test should be written for each of the options but polymorphism should allow for re-use of most of the test. (i.e.
--output
should be the same for Deployment, DaemonSet, Service.log-level
, namespace
, socket-path
, image
, trace-timeout
should be the same for all resources
)
Write an e2e test for all supported resource types: [Deployment, DaemonSet, Service, Pod] Write e2e test for
--output
,--trace-timeout
,--socket-path
,--namespace
,--image
,--log-level