You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
You can't jump from the test case in the test explorer to the source file where the test is defined.
Describe the solution you'd like
For test discovery, run the executable with --verbosity high --list-test-names-only.
Catch will then produce output like:
map @parsecxx/test/combinators.cpp(52)
times @parsecxx/test/combinators.cpp(57)
operator<< @parsecxx/test/combinators.cpp(96)
which can be split into test case name, file and line number.
Additional context
I tried to implement this myself, but I couldn't even get the extension to compile without any changes because of this error:
src/adapter.ts:302:70 - error TS2345: Argument of type '[string[], string[], [string, string[]], [string, string], [string, ProcessEnv]]' is not assignable to parameter of type '[string, string] | ConcatArray<[string, string]>'.
Type '[string[], string[], [string, string[]], [string, string], [string, ProcessEnv]]' is not assignable to type 'ConcatArray<[string, string]>'.
Types of property 'slice' are incompatible.
Type '(start?: number, end?: number) => (string[] | [string, string] | [string, string[]] | [string, Pr...' is not assignable to type '(start?: number, end?: number) => [string, string][]'.
Type '(string[] | [string, string] | [string, string[]] | [string, ProcessEnv])[]' is not assignable to type '[string, string][]'.
Type 'string[] | [string, string] | [string, string[]] | [string, ProcessEnv]' is not assignable to type '[string, string]'.
Type 'string[]' is not assignable to type '[string, string]'.
Property '0' is missing in type 'string[]'.
302 const resolveDebugVariables = this.variableResolvedPair.concat([
~
303 ["${label}", testInfo.label],
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
307 ["${envObj}", testInfo.execOptions.env!]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
308 ]);
~~~~~~~
The text was updated successfully, but these errors were encountered:
wow, that's nice. I didn't know about this feature.
I will definitely implement it.
Actually after you run your tests, the navigation works, but your solution is good from the first load.
About your trying:
Not a TS guru. I wouldn't guess whats the problem :)
Is your feature request related to a problem? Please describe.
You can't jump from the test case in the test explorer to the source file where the test is defined.
Describe the solution you'd like
For test discovery, run the executable with
--verbosity high --list-test-names-only
.Catch will then produce output like:
which can be split into test case name, file and line number.
Additional context
I tried to implement this myself, but I couldn't even get the extension to compile without any changes because of this error:
The text was updated successfully, but these errors were encountered: