MCPcopy
hub / github.com/dotnet/vscode-csharp / runIntegrationTest

Function runIntegrationTest

tasks/tests/testHelpers.ts:62–72  ·  view source on GitHub ↗
(
    testAssetName: string,
    testFolderName: string,
    suiteName: string,
    vscodeWorkspaceFileName = `${testAssetName}.code-workspace`,
    testFile: string | undefined = undefined,
    env: NodeJS.ProcessEnv = {}
)

Source from the content-addressed store, hash-verified

60}
61
62export async function runIntegrationTest(
63 testAssetName: string,
64 testFolderName: string,
65 suiteName: string,
66 vscodeWorkspaceFileName = `${testAssetName}.code-workspace`,
67 testFile: string | undefined = undefined,
68 env: NodeJS.ProcessEnv = {}
69): Promise<number> {
70 const testFolder = path.join('test', testFolderName);
71 return await runJestIntegrationTest(testAssetName, testFolder, vscodeWorkspaceFileName, suiteName, env, testFile);
72}
73
74/**
75 * Runs jest based integration tests.

Callers 5

profileCSharpFunction · 0.90
testIntegrationCSharpFunction · 0.90
testIntegrationUntrustedFunction · 0.90

Calls 1

runJestIntegrationTestFunction · 0.85

Tested by

no test coverage detected