argoproj-labs / argo-rollouts-manager

Kubernetes Operator for Argo Rollouts controller.
https://argo-rollouts-manager.readthedocs.io/en/latest/
Apache License 2.0
100 stars 329 forks source link

Increasing unit-test code coverage #11

Closed drpaneas closed 10 months ago

drpaneas commented 1 year ago

Right now the controller is doing the minimum things and the testing coverage is:

drpaneas@linux:~/go/src/github.com/iam-veeramalla/argo-rollouts-manager$ go test -cover ./... ? github.com/iam-veeramalla/argo-rollouts-manager [no test files] ? github.com/iam-veeramalla/argo-rollouts-manager/api/v1alpha1 [no test files] ok github.com/iam-veeramalla/argo-rollouts-manager/controllers 0.018s coverage: 57.4% of statements

it would be a good idea to secure this basic functionality by increasing the controllers up to 80% minimum.