go to post Evgeny Shvarov · Jun 8, 2023 @Michael Davidovich , this is a good idea! If you could provide a repo with legacy application inviting for dockerization I believe a lot of DC members could help.
go to post Evgeny Shvarov · Jun 8, 2023 Here is another video that updates the class and commits changes to the repo
go to post Evgeny Shvarov · Jun 8, 2023 Well, if you have git repo cloned with objectscript files and VSCode connected to IRIS all your files are imported into IRIS and can be executed there. You change the objectscript files in VSCode, compile and they are imported into IRIS automatically. VSCode and git maintain the versioning of changes for you.
go to post Evgeny Shvarov · Jun 8, 2023 I understand the argumentation, makes sense. Just curious how do you debug those unittests that fail?
go to post Evgeny Shvarov · Jun 8, 2023 Thanks @Guillaume Rongier ! Is it possible to use your export/import mechanism to change only one element of the production?
go to post Evgeny Shvarov · Jun 8, 2023 BTW, this setting worked: "intersystems.testingManager.client.relativeTestRoot": "/tests",
go to post Evgeny Shvarov · Jun 8, 2023 Now it sees them: But they ask for ^UnitTest to be setup, instructions, etc. Could it work similar as it works in IPM as @Timothy Leavitt demonstrated? Because with IPM I can run tests all and standalone without any settings at all - it just works. Could the IPM be leveraged if it is presented in the repo/namespace?
go to post Evgeny Shvarov · Jun 8, 2023 Also you can create NAMESPACE/DATABASE via SQL. e.g.: USER>:sql SQL Command Line Shell ---------------------------------------------------- The command prefix is currently set to: <<nothing>>. Enter <command>, 'q' to quit, '?' for help. [SQL]USER>>Create Database TEST 1. Create Database TEST 0 Rows Affected statement prepare time(s)/globals/cmds/disk: 0.0235s/2,162/14,045/0ms execute time(s)/globals/cmds/disk: 0.0843s/29,325/395,226/0ms cached query class: %sqlcq.USER.cls21 --------------------------------------------------------------------------- [SQL]USER>>exit USER>zn "TEST" TEST> HTH
go to post Evgeny Shvarov · Jun 8, 2023 It looks like that organization field for Open AI integration is not mandatory, so only Telegram Token and ChatGPT key needed.
go to post Evgeny Shvarov · Jun 7, 2023 Hi Gautam! You can start from this template - it is a ready-made template that provides git, docker, ipm and unit-testing development environment.
go to post Evgeny Shvarov · Jun 7, 2023 The only drawback - there is no Microsoft Solitaire :) Jokes aside maybe you'll miss InterSystems Studio. But VSCode does more than Studio can. Also Docker is much more stable on Mac.
go to post Evgeny Shvarov · Jun 7, 2023 Also you might be interested in ZPM Hub project by @Sergei Shutov
go to post Evgeny Shvarov · Jun 7, 2023 Yes, just install it on IRIS and you'll have your own registry. Learn more.
go to post Evgeny Shvarov · Jun 6, 2023 Did it: Now it likes it, but still the testing tool doesn't see any tests. Should it be absolute path or relative to the root of repo? Do you mind to send a PR with a working setting to the repo?
go to post Evgeny Shvarov · Jun 6, 2023 Thanks @Joel Solon! But all this could be achieved without instance methods, right? Anyway, I'm struggling to find an easy way to debug a failed unittest. @Michael Davidovich suggested the closest way to achieve it but I still want to find something really handy, e.g. an additional "clickable button" in VSCode above the test method that invites "debug this test method". Similar what we have for class methods now - debug this classmethod and copy invocation. That'd be ideal.
go to post Evgeny Shvarov · Jun 6, 2023 Hi @John Murray ! Not sure if I put it in a right place: Says it shouldn't be here