Skip to content

Commit e90b484

Browse files
committed
Configure for Testing Manager
1 parent fd39015 commit e90b484

2 files changed

Lines changed: 15 additions & 1 deletion

File tree

.vscode/settings.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
"links": {
1717
"UnitTest Portal": "${serverUrl}/csp/sys/%25UnitTest.Portal.Home.cls?$NAMESPACE=IRISAPP"
1818
}
19-
}
19+
},
20+
"intersystems.testingManager.client.relativeTestRoot": "tests"
2021

2122
}

iris.script

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,19 @@
1212
do $SYSTEM.OBJ.Load("/home/irisowner/dev/Installer.cls", "ck")
1313
set sc = ##class(App.Installer).setup()
1414

15+
// create /_vscode web app to support intersystems-community.testingmanager VS Code extension
16+
kill prop
17+
set prop("AutheEnabled")=32
18+
set prop("AutoCompile")=0
19+
set prop("Description")="Storage for VS Code namespace-specific settings, snippets, debug configurations etc."
20+
set prop("InbndWebServicesEnabled")=0
21+
set prop("NameSpace")="%SYS"
22+
set prop("Path")="/usr/irissys/.vscode"
23+
set sc=##class(Security.Applications).Create("/_vscode",.prop)
24+
25+
// Configure %UnitTest in IRISAPP to suit the VS Code extension
26+
set ^UnitTestRoot=prop("Path")_"/IRISAPP/UnitTestRoot"
27+
1528
// comment the line below for production images
1629
zpm "install passwordless"
1730
// load all the code of the project as a ZPM package

0 commit comments

Comments
 (0)