bonny
bonny copied to clipboard
Integration tests w/o k8s mock client
Add an integration test suite using a real k8s cluster. Currently using todo-operator to validate. Its annoying.
- Include setup instructions for docker-for-desktop or k3s
- generate an operator
- deploy into cluster
- use k8s client in the test suite to validate (tail logs and assert v add/modify/delete)
The DynamicHTTPProvider in k8s could be used to go throughk8s library instead of mocking around it.
Integration tests should include fetching a connection from the k8s client.