kubewarden / kubewarden-controller

Manage admission policies in your Kubernetes cluster with ease
https://kubewarden.io
Apache License 2.0
191 stars 33 forks source link

Test Plan #87

Closed jvanz closed 3 years ago

jvanz commented 3 years ago

To make Kubewarden more stable and robust we should write some test plan to cover expected behavior and important features. After that we should write the tests. So, this issue keep track of this task.

jvanz commented 3 years ago

https://github.com/kubewarden/kubewarden-controller/wiki/Test-Plan

flavio commented 3 years ago

I think these instructions have to be updated to reflect the new architecture: https://github.com/kubewarden/kubewarden-controller/wiki/Test-Plan#steps

flavio commented 3 years ago

I think this step will fail because the ClusterAdmissionPolicy has been defined before.

Maybe we can just drop these steps and go straight into testing the actual policy (step 3).

Scratch it, I see what you're doing. The test cases should not depend on each other.

flavio commented 3 years ago

This CR is broken: https://github.com/kubewarden/kubewarden-controller/wiki/Test-Plan#prerequisites-6

flavio commented 3 years ago

Overall, thanks for the great document :clap:

jvanz commented 3 years ago

I think these instructions have to be updated to reflect the new architecture: https://github.com/kubewarden/kubewarden-controller/wiki/Test-Plan#steps

Test cases about Kubewarden installation and uninstallation have been updated to consider the new architecture.

jvanz commented 3 years ago

As the base test cases have been written, I'm moving this into pending review to check if we can close this for now.

flavio commented 3 years ago

I think the document looks good to me. We can close it for now