You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
using Test
function failFunction()
@test false
end
@time @testset verbose = true "test main level" begin
@time @testset "failure 1" begin
@test false
end
@time @testset "failure 2" begin
failFunction()
end
end
If @test macro failure occurs inside @testset block, full stack is properly printed (e.g. @testset "failure 1").
If @test macro failure occurs inside a function called from within @testset block, only limited stack is printed (e.g. @testset "failure 2"). It is not clear as to where inside @testset block failure originated.
This used to work in julia 1.6.5
versioninfo()
Julia Version 1.7.3
Commit 742b9abb4d (2022-05-06 12:58 UTC)
Platform Info:
OS: Windows (x86_64-w64-mingw32)
CPU: Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-12.0.1 (ORCJIT, skylake)```
</details>
The text was updated successfully, but these errors were encountered:
runtests.jl
If
@test
macro failure occurs inside@testset
block, full stack is properly printed (e.g.@testset "failure 1"
).If
@test
macro failure occurs inside a function called from within@testset
block, only limited stack is printed (e.g.@testset "failure 2"
). It is not clear as to where inside@testset
block failure originated.This used to work in julia 1.6.5
versioninfo()
The text was updated successfully, but these errors were encountered: