I would like to specify a different file than runtests.jl when runing test from Pkg. Something like:
pkg> test file=anotherfile.jl
The file would still reside in the test directory. But that would allow me to avoid editing runtests.jl and commenting in/out lines like
include(“anotherfile.jl”).
Not directly responsive to your question, but do take a look at the new test item framework in the VS Code extension, it allows you to run a very fine-grained selection of tests easily.
Anyway, how do I install the VS code extension? I have seen the option to install additional testing extensions but I see a long list of possibilities and nothing looking like testitems. Can you help?
In the second screenshot you can see a sentence in French saying: “Tests not found in this workspace”. Then I am told to “configure a test framework”. I guess that’s the part I did not do.
Then you see an irrelevant option for Python testing (God forbid)
Then an option to install further stuff.
You’re right about the debugger. I got the correct display for a while. Then I lost it.
The language server had plenty of time to start after 1 hour of trial.
I tested again this morning and checked the language server. It started without error. Still, nothing to see in the test section. A VS code bug maybe. I don’t know. I give up for now. I’ll comment out the files I don’t want to test.