package service import ( "context" push "gitea.timerzz.com/kedaya_haitao/pusher/kitex_gen/push" "testing" ) func TestPush_Run(t *testing.T) { ctx := context.Background() s := NewPushService(ctx) // init req and assert value req := &push.PushReq{} resp, err := s.Run(req) t.Logf("err: %v", err) t.Logf("resp: %v", resp) // todo: edit your unit test }