FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
vscode-python/src/test/debuggerTest.ts at main · Pythoneryeah/vscode-python · GitHub
Pythoneryeah
/
vscode-python
Public
forked from
microsoft/vscode-python
Notifications
You must be signed in to change notification settings
Fork
1
Star
1
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
vscode-python
/
src
/
test
/
debuggerTest.ts
Copy path
More file actions
More file actions
Latest commit
History
History
History
27 lines (24 loc) · 1018 Bytes
Breadcrumbs
vscode-python
/
src
/
test
/
debuggerTest.ts
Copy path
File metadata and controls
27 lines (24 loc) · 1018 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import
*
as
path
from
'path'
;
import
{
runTests
}
from
'@vscode/test-electron'
;
import
{
EXTENSION_ROOT_DIR_FOR_TESTS
}
from
'./constants'
;
import
{
getChannel
}
from
'./utils/vscode'
;
const
workspacePath
=
path
.
join
(
__dirname
,
'..'
,
'..'
,
'src'
,
'testMultiRootWkspc'
,
'multi.code-workspace'
)
;
process
.
env
.
IS_CI_SERVER_TEST_DEBUGGER
=
'1'
;
process
.
env
.
VSC_PYTHON_CI_TEST
=
'1'
;
function
start
(
)
{
console
.
log
(
'*'
.
repeat
(
100
)
)
;
console
.
log
(
'Start Debugger tests'
)
;
runTests
(
{
extensionDevelopmentPath
:
EXTENSION_ROOT_DIR_FOR_TESTS
,
extensionTestsPath
:
path
.
join
(
EXTENSION_ROOT_DIR_FOR_TESTS
,
'out'
,
'test'
,
'index'
)
,
launchArgs
:
[
workspacePath
]
,
version
:
getChannel
(
)
,
extensionTestsEnv
:
{
...
process
.
env
,
UITEST_DISABLE_INSIDERS
:
'1'
}
,
}
)
.
catch
(
(
ex
)
=>
{
console
.
error
(
'End Debugger tests (with errors)'
,
ex
)
;
process
.
exit
(
1
)
;
}
)
;
}
start
(
)
;
Back
|
FazBrowse Home
|
New Git URL