I am currently developing a small package and wrote some Unit-tests for it. Since I am developing it in VS Code, I am using the TestItemRunner.jl package.
The tests also work as expected when using the Package mode in the REPL and executing
Yet when using the VS Code UI to execute a test set, I only receive the error “Unable to identify a Julia package for this test item.” and the only place where I found this error was as part of the source code of Julia VS Code extension (https://github.com/julia-vscode/julia-vscode/blob/e9cf19424667c69105f6307cc04f0d81a3363f40/src/testing/testFeature.ts#L330, line 330), yet I was unable to understand what causes this error.
Is there a common mistake that causes this error?
Maybe relevant info:
I am using the “new” way of specifying test-specific dependencies (i.e. with an additional test/Project.toml file), but have also tested the “old” way and it has not changed anything.