Skip to content

Testset in included files do not execute tests #51

Open
@maleadt

Description

@maleadt

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions