kubernetes-sigs / kubetest2

Kubetest2 is the framework for launching and running end-to-end tests on Kubernetes.
Apache License 2.0
325 stars 104 forks source link

Writing custom tests #258

Closed legolego621 closed 4 months ago

legolego621 commented 5 months ago

Hi, I'm new to kubetest2. I'm planning to write tests for my cluster using kubetest2. I noticed that kubetest2 has a ginkgo tester. Can I integrate my own tests written by ginkgo into it or I have to write own custom tester?

GanjMonk commented 5 months ago

All tests are paced in the k8s repo https://github.com/kubernetes/kubernetes/tree/master/test tester just execute this tests

legolego621 commented 5 months ago

thanks! is it rigth way to run my custom ginkgo tests like?

kubetest2 deployer \
  ---
  ---
  --test=exec \
  -- ginkgo -v