intersystems-community / intersystems-testingmanager

A VS Code extension to surface in the testing view any unit tests built with the InterSystems %UnitTest framework.
MIT License
2 stars 2 forks source link

Unable to run test in server based tests getting "6711: Invalid debugger target" #29

Open basilke opened 5 months ago

basilke commented 5 months ago

The tests are shown in test manager. But when I run them, i get an error saying "6711: Invalid debugger target: ##class(%UnitTest.Manager).RunTest("username .. the rest is clipped off.

Now to give some back ground, we have different namespaces. The default is "SYS". But I am trying to run a test in another environment say "BASI". I can see the that the test copies the tested file to "SYS" :/_vscode/BASI/UnitTestRoot/UnitTest/testedClass.cls

The error also says cannot find the class which i have used in not present in "SYS". This error is valid, I am actually trying to test something in "BASI" not "SYS". Not sure why it thinks that namespace or test that I am using on in default namespace.

Thanks