Skip to content

"Debug Subtest At Cursor" is broken #3718

Closed
@firelizzard18

Description

@firelizzard18

Original report from @leandrosa:

Today I notice that the "debug subtest" is not working too. Before we could select the subtest command and put the name of the subtest(table-driven test) to debug it isolated. But now, its stopped to work.

Image

There is an exception in the command handler below because args is undefined when the user triggers the command via vscode's command pallet.

const currentTestFunctions = args.functionName
? testFunctions.filter((func) => func.name === args.functionName)
: testFunctions.filter((func) => func.range.contains(editor.selection.start));

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions