You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At now it is required to write integration tests with Tarantool to test the code written using go-tarantool. I saw this problem while writing tests for tt. I couldn't mock the workflow:
ret:=some_code_to_test(mockConnectorObject) {
// some code to testfuture:=mockConnectorObject.Do(someRequest)
mock_response, mock_err:=future.Get()
// more code to test
}
ifret!=expected {
t.Errorf("test failed")
}