TestItemRunner.jl icon indicating copy to clipboard operation
TestItemRunner.jl copied to clipboard

Do not run tests on files not included (?)

Open lmiq opened this issue 1 year ago • 0 comments

I may be doing something wrong, by in my project I have something like:

module MyPkg
    using TestItems
    include("somefile.jl")
end

Inside somefile.jl there are some tests defined by @testitem sets.

It seems that, if I comment the line that includes somefile.jl, the tests inside somefile.jl are stil checked up, and the tests break if there are syntax errors in that file.

Is this expected?

lmiq avatar Dec 20 '23 13:12 lmiq