I don't know if this was tested before, but is there some way to make it work with vscode extension, like C++ TestMate? This is typically used by GTest and Catch2...
I think somehow the main test must emit some some json response, based on arguments --reporter json --list-tests...
Has someone tried some example on this before? Before I dig too deep in workarounds here :)