Skip to content

Ability to have a fake the sdk actions #284

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
shawn-hurley opened this issue May 25, 2018 · 2 comments
Closed

Ability to have a fake the sdk actions #284

shawn-hurley opened this issue May 25, 2018 · 2 comments
Labels
area/testing Issue related to testing the operator-sdk and subcomponents blocked

Comments

@shawn-hurley
Copy link
Member

To facilitate in the unit testing of an operator I think it would be helpful to have something like this, or some other mechanism to fake out the Query/Create/Update... actions.

@fanminshi
Copy link
Contributor

@shawn-hurley I would like to have that as well. Once this #257 is resolved, we can start to work on providing a fake (mock) for the sdk crud actions.

@spahl spahl added area/testing Issue related to testing the operator-sdk and subcomponents blocked labels Jun 5, 2018
@shawn-hurley
Copy link
Member Author

Closing this issue. After #615 the controller runtime has this feature. https://github.com/kubernetes-sigs/controller-runtime/tree/master/pkg/client/fake

m1kola pushed a commit to m1kola/operator-sdk that referenced this issue Jun 7, 2024
…istency-openshift-4.12-openshift-enterprise-ansible-operator

Updating openshift-enterprise-ansible-operator images to be consistent with ART
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/testing Issue related to testing the operator-sdk and subcomponents blocked
Projects
None yet
Development

No branches or pull requests

3 participants