Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Testset in included files do not execute tests #51

Open
maleadt opened this issue Oct 11, 2022 · 0 comments
Open

Testset in included files do not execute tests #51

maleadt opened this issue Oct 11, 2022 · 0 comments

Comments

@maleadt
Copy link

maleadt commented Oct 11, 2022

MWE:

foo.jl

@testset "wat" begin
    @test 1 == 1
end

runtests.jl

module Tests

using ReTest

@testset "foo" begin
include("foo.jl")
end

end

Tests.runtests()

Yields:

        Pass
foo |      0

Removing the @testset in foo.jl makes the tests execute.

This is on Julia v1.8 using ReTest v0.3.2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant