Skip to content

Create mock for RemotExecutor interface with mockery

The following discussion from !1680 (merged) should be addressed:

  • @steveazz started a discussion: (+1 comment)

    If we do it like below it will just create this mock_RemoteExecutor.go which should probably be used instead of the hand-rolled fakeRemoteExecutor

    	mockery $(MOCKERY_FLAGS) -dir=./executors/kubernetes -all -inpkg

    What do you think if inside this merge request we set it to the suggestion above, and then in a follow up merge request we remove the fakeRemoteExecutor, what do you think?

Proposal