MCPcopy Index your code
hub / github.com/apache/devlake / CreateTestScopeConfig

Function CreateTestScopeConfig

backend/test/e2e/remote/helper.go:127–134  ·  view source on GitHub ↗
(client *helper.DevlakeClient, connectionId uint64)

Source from the content-addressed store, hash-verified

125}
126
127func CreateTestScopeConfig(client *helper.DevlakeClient, connectionId uint64) *FakeScopeConfig {
128 config := helper.Cast[FakeScopeConfig](client.CreateScopeConfig(PLUGIN_NAME, connectionId, FakeScopeConfig{
129 Name: "Scope config",
130 Env: "test env",
131 Entities: []string{plugin.DOMAIN_TYPE_CICD},
132 }))
133 return &config
134}
135
136func CreateTestBlueprints(t *testing.T, client *helper.DevlakeClient, count int) *BlueprintTestParams {
137 t.Helper()

Callers 4

CreateTestBlueprintsFunction · 0.85
TestCreateScopeFunction · 0.85
TestRunPipelineFunction · 0.85

Calls 1

CreateScopeConfigMethod · 0.80

Tested by 3

TestCreateScopeFunction · 0.68
TestRunPipelineFunction · 0.68