Skip to content

Tests suites run fine from the class level, but name is truncated at the method level #62

@jonlent

Description

@jonlent

Extension can run a full test suite when the run arrow is selected from the explorer and it is on a test class. Trying to run the tests using the run arrow in the code window or the run arrow on the method in the explorer tree, the extension fails to find the test.

Run from class level:

  NotesAPITests.Process.CreateNotesBplTest begins ...
      TestConvertNoteDateTimetoCentralTimeWithEmptyInput() begins ...
        AssertTrue:Should return current datetime when input is empty (passed)
        AssertTrue:Result should be 20 characters (YYYYMMDDHHMMSSFFFFFF) (passed)
        AssertTrue:Should return current datetime when input is null (passed)
        LogMessage:Duration of execution: .001325 sec.
      TestConvertNoteDateTimetoCentralTimeWithEmptyInput passed

Run of method level:

LogStateStatus:0:RunOneTest: ERROR #5001: TestCase 'Process.CreateNotesBplTest' does not exist in TestSuite  <<==== **FAILED**   _system/Process::
  _system/Process failed

NOTE: Using "intersystems.testingManager.client.relativeTestRoot": "src/iris/NotesAPITests" in .vscode/settings.json

VSCode
Version: 1.104.0 (system setup)
Commit: f220831ea2d946c0dcb0f3eaa480eb435a2c1260
Date: 2025-09-10T06:46:18.035Z
Electron: 37.3.1
ElectronBuildId: 12342881
Chromium: 138.0.7204.235
Node.js: 22.18.0
V8: 13.8.258.31-electron.0
OS: Windows_NT x64 10.0.26100

InterSystems Testing Manager
2.0.4

InterSystems IRIS for Health
2025.1.1.308.0 (Windows 11)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions