MCPcopy Create free account
hub / github.com/crytic/attacknet / CreateTestExecutor

Function CreateTestExecutor

pkg/test_executor/executor.go:22–24  ·  view source on GitHub ↗
(chaosClient *chaos_mesh.ChaosClient, test types.SuiteTest)

Source from the content-addressed store, hash-verified

20}
21
22func CreateTestExecutor(chaosClient *chaos_mesh.ChaosClient, test types.SuiteTest) *TestExecutor {
23 return &TestExecutor{chaosClient: chaosClient, testName: test.TestName, planSteps: test.PlanSteps}
24}
25
26func (te *TestExecutor) RunTestPlan(ctx context.Context) error {
27 if te.planCompleted {

Callers 1

StartTestSuiteFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected