File tree Expand file tree Collapse file tree 4 files changed +16
-8
lines changed
tests/dc/sample/unittests Expand file tree Collapse file tree 4 files changed +16
-8
lines changed Original file line number Diff line number Diff line change 55 " github.copilot" ,
66 " intersystems-community.servermanager" ,
77 " intersystems-community.sqltools-intersystems-driver" ,
8+ " intersystems-community.testingmanager" ,
89 " intersystems-community.vscode-objectscript" ,
910 " intersystems.language-server" ,
1011 " mohsen1.prettify-json" ,
Original file line number Diff line number Diff line change 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}
Original file line number Diff line number Diff line change 1- // Unexpire passwords to simplify dev mode. Comment these two lines for Production use
21 zn "%SYS"
3- Do ##class(Security.Users).UnExpireUserPasswords("*")
42
5- ; enabling callin for Embedded Python
3+ // Unexpire passwords and set up passwordless mode to simplify dev use.
4+ // ** Comment out these two line for Production use **
5+ do ##class(Security.Users).UnExpireUserPasswords("*")
6+ zpm "install passwordless"
7+
8+ // Enable callin for Embedded Python
69 do ##class(Security.Services).Get("%Service_CallIn",.prop)
710 set prop("Enabled")=1
811 set prop("AutheEnabled")=48
1215 do $SYSTEM.OBJ.Load("/home/irisowner/dev/Installer.cls", "ck")
1316 set sc = ##class(App.Installer).setup()
1417
15- // comment the line below for production images
16- zpm "install passwordless"
17- // load all the code of the project as a ZPM package
1818 zn "IRISAPP"
1919
20+ // Create /_vscode web app to support intersystems-community.testingmanager VS Code extension
21+ zpm "install vscode-per-namespace-settings"
22+
23+ // Configure %UnitTest in IRISAPP to suit the VS Code extension
24+ set ^UnitTestRoot="/usr/irissys/.vscode/IRISAPP/UnitTestRoot"
25+
2026 zpm "load /home/irisowner/dev/ -v":1:1
2127 halt
Original file line number Diff line number Diff line change 1- Class dc .sample .unittests .TestCreateRecord Extends %UnitTest .TestCase
1+ Class dc .sample .unittests .TestPersistentClass Extends %UnitTest .TestCase
22{
33
44Method TestCreateRecord ()
You can’t perform that action at this time.
0 commit comments