Note:
Running Tests in this fashion deletes them from InterSystems IRIS after they execute. If you return to VS Code to view Tests after executing the test, you will see that the file is not synchronized with the server. You can save or recompile the class to add the code back to the server.
If you do not want to delete your classes, you must supply the “/nodelete” qualifier to RunTest.
USER>do ##class(%UnitTest.Manager).RunTest("mytests","/nodelete")