Skip to content

Filtering broken at nesting level > 2 ?  #36

Open
@marius311

Description

@marius311

I'm not sure exactly what's happening here, but this seems broken with v0.3.1?

julia> module Foo

       using ReTest

       @testset "$N" for N = ["a", "b"]
           @testset "$M" for M = [1, 2]
               @testset "$P" for P = ["α", "β"]
                   @test true
               end
           end
       end

       end
Main.Foo

julia> Foo.retest("1", dry=true, verbose=3)
Main.Foo
1| a
2|   1
3|     α
3|     β
2|   2
1| b
2|   1
3|     α
3|     β
2|   2

If instead I only do 2 levels of nesting, the M=1 tests are instead correctly picked out.

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