bonny icon indicating copy to clipboard operation
bonny copied to clipboard

Integration tests w/o k8s mock client

Open coryodaniel opened this issue 6 years ago • 1 comments

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)

coryodaniel avatar Feb 13 '20 15:02 coryodaniel

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.

coryodaniel avatar Feb 14 '20 06:02 coryodaniel