mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-24 12:19:20 +00:00
tests - enable API tests with test runner (#240876)
* tests - enable API tests with test runner * windows * use correct specific tests per api workspace type --------- Co-authored-by: Connor Peet <connor@peet.io>
This commit is contained in:
@@ -55,13 +55,13 @@ fi
|
||||
echo
|
||||
echo "### API tests (folder)"
|
||||
echo
|
||||
"$INTEGRATION_TEST_ELECTRON_PATH" $LINUX_EXTRA_ARGS $ROOT/extensions/vscode-api-tests/testWorkspace --enable-proposed-api=vscode.vscode-api-tests --extensionDevelopmentPath=$ROOT/extensions/vscode-api-tests --extensionTestsPath=$ROOT/extensions/vscode-api-tests/out/singlefolder-tests $API_TESTS_EXTRA_ARGS
|
||||
npm run test-extension -- -l vscode-api-tests-folder
|
||||
kill_app
|
||||
|
||||
echo
|
||||
echo "### API tests (workspace)"
|
||||
echo
|
||||
"$INTEGRATION_TEST_ELECTRON_PATH" $LINUX_EXTRA_ARGS $ROOT/extensions/vscode-api-tests/testworkspace.code-workspace --enable-proposed-api=vscode.vscode-api-tests --extensionDevelopmentPath=$ROOT/extensions/vscode-api-tests --extensionTestsPath=$ROOT/extensions/vscode-api-tests/out/workspace-tests $API_TESTS_EXTRA_ARGS
|
||||
npm run test-extension -- -l vscode-api-tests-workspace
|
||||
kill_app
|
||||
|
||||
echo
|
||||
@@ -71,7 +71,7 @@ npm run test-extension -- -l vscode-colorize-tests
|
||||
kill_app
|
||||
|
||||
echo
|
||||
echo "### Terminal Suggest tests"
|
||||
echo "### Terminal Suggest tests"
|
||||
echo
|
||||
npm run test-extension -- -l terminal-suggest --enable-proposed-api=vscode.vscode-api-tests
|
||||
kill_app
|
||||
|
||||
Reference in New Issue
Block a user