Documentation ¶
Index ¶
- Variables
- func AllCheck() error
- func CheckTestCaseGrpc() error
- func CheckTestCaseHttp() error
- func ExtractXpath(ctx context.Context, cmd *cli.Command) error
- func GenReportFileGrpc(testCasefilePath string, tcResultList []GrpcTestCaseResult)
- func GenReportFileHttp(testCasefilePath string, tcResultList []HttpTestCaseResult)
- func GrpcAutomateTest(grpcTestCases map[string][]*config.TestCaseGrpc)
- func HandleSingleFileGrpc(workerNum int, filePath string) (*ResultInfo, []GrpcTestCaseResult)
- func HandleSingleFileHttp(workerNum int, filePath string) (*ResultInfo, []HttpTestCaseResult)
- func HttpAutomateTest(httpTestCases map[string][]*config.TestCaseHttp)
- func RunTestCases(ctx context.Context, cmd *cli.Command) error
- func ValidateConfig(ctx context.Context, cmd *cli.Command) error
- type EventHandler
- func (m *EventHandler) OnReceiveHeaders(md metadata.MD)
- func (m *EventHandler) OnReceiveResponse(msg proto.Message)
- func (m *EventHandler) OnReceiveTrailers(status *status.Status, md metadata.MD)
- func (m *EventHandler) OnResolveMethod(descriptor *desc.MethodDescriptor)
- func (m *EventHandler) OnSendHeaders(md metadata.MD)
- type GrpcTestCallable
- type GrpcTestCaseResult
- type HttpTestCallable
- type HttpTestCaseResult
- type ResultInfo
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func CheckTestCaseGrpc ¶ added in v0.0.6
func CheckTestCaseGrpc() error
func CheckTestCaseHttp ¶ added in v0.0.6
func CheckTestCaseHttp() error
func ExtractXpath ¶ added in v0.0.2
func GenReportFileGrpc ¶ added in v0.0.6
func GenReportFileGrpc(testCasefilePath string, tcResultList []GrpcTestCaseResult)
func GenReportFileHttp ¶ added in v0.0.6
func GenReportFileHttp(testCasefilePath string, tcResultList []HttpTestCaseResult)
func GrpcAutomateTest ¶ added in v0.0.6
func GrpcAutomateTest(grpcTestCases map[string][]*config.TestCaseGrpc)
func HandleSingleFileGrpc ¶ added in v0.0.6
func HandleSingleFileGrpc(workerNum int, filePath string) (*ResultInfo, []GrpcTestCaseResult)
func HandleSingleFileHttp ¶ added in v0.0.6
func HandleSingleFileHttp(workerNum int, filePath string) (*ResultInfo, []HttpTestCaseResult)
func HttpAutomateTest ¶
func HttpAutomateTest(httpTestCases map[string][]*config.TestCaseHttp)
func RunTestCases ¶
func ValidateConfig ¶
Types ¶
type EventHandler ¶ added in v0.0.6
type EventHandler struct {
// contains filtered or unexported fields
}
func NewEventHandler ¶ added in v0.0.6
func NewEventHandler(formatter grpcurl.Formatter) *EventHandler
func (*EventHandler) OnReceiveHeaders ¶ added in v0.0.6
func (m *EventHandler) OnReceiveHeaders(md metadata.MD)
func (*EventHandler) OnReceiveResponse ¶ added in v0.0.6
func (m *EventHandler) OnReceiveResponse(msg proto.Message)
func (*EventHandler) OnReceiveTrailers ¶ added in v0.0.6
func (m *EventHandler) OnReceiveTrailers(status *status.Status, md metadata.MD)
func (*EventHandler) OnResolveMethod ¶ added in v0.0.6
func (m *EventHandler) OnResolveMethod(descriptor *desc.MethodDescriptor)
func (*EventHandler) OnSendHeaders ¶ added in v0.0.6
func (m *EventHandler) OnSendHeaders(md metadata.MD)
type GrpcTestCallable ¶ added in v0.0.6
type GrpcTestCallable struct {
// contains filtered or unexported fields
}
type GrpcTestCaseResult ¶ added in v0.0.6
type HttpTestCallable ¶
type HttpTestCallable struct {
// contains filtered or unexported fields
}
type HttpTestCaseResult ¶
type ResultInfo ¶
Click to show internal directories.
Click to hide internal directories.