MichaelWasher / kstrace

A kubectl plugin used to collect strace data from running Pods
Apache License 2.0
32 stars 7 forks source link

Write a e2e smoke test for all resource types and one for each flag option #11

Open MichaelWasher opened 3 years ago

MichaelWasher commented 3 years ago

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

MichaelWasher commented 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.

MichaelWasher commented 3 years ago

https://github.com/MichaelWasher/kstrace/pull/16