In what area(s)?
Describe the feature:
In order to simplify the maintenance of our tests, existing tests in services should be refactored to use the MockKnClient support class. An example of such a test can be found in service_create_mock_test.go
Ideally all the test classes
- service_create_test.go
- service_list_test.go
- service_describe_test.go
- service_update_test.go
should be rewritten (and the mock sample integrated into service_create_test)
Maybe also add as service_delete_test.go which seems to be missing.
In what area(s)?
Describe the feature:
In order to simplify the maintenance of our tests, existing tests in services should be refactored to use the
MockKnClientsupport class. An example of such a test can be found inservice_create_mock_test.goIdeally all the test classes
should be rewritten (and the mock sample integrated into service_create_test)
Maybe also add as service_delete_test.go which seems to be missing.