Hi everyone,
I encountered this problem already multiple times and I don’t understand the reason for this behaviour.
I don’t have a minimal working example, but the basic setup is the following:
@testset "FirstSet" begin
    a = 0.1
    b = 0.7
    @testset "SecondSet" begin
        .... Some transformations based on a and b
        .... Check that two different formulations are identical
        @test f(a,b) ≈ g(a,b)
    end
end
This works just fine. However, I would like to do the following, to make sure it works also for different values:
@testset "FirstSet" begin
    a = 0.1
    b = 0.7
    @testset "SecondSet" for a = 0.1:0.1:0.2, b = 0.7:0.1:0.8
        .... Some transformations based on a and b
        .... Check that two different formulations are identical
        @test f(a,b) ≈ g(a,b)
    end
end
Which fails four times. Indeed, even the following fails:
@testset "FirstSet" begin
    @testset "SecondSet" for a = 0.1, b = 0.7
        .... Some transformations based on a and b
        .... Check that two different formulations are identical
        @test f(a,b) ≈ g(a,b)
    end
end
Which is, according to my understand, identical to the first. It seems, however, that it isn’t. Can someone explain to me this behavior? I had this problem already a couple of times.