Skip to content

Commit

Permalink
use child @testset to get nicer test summary (#618)
Browse files Browse the repository at this point in the history
* ignore Manifest-v*.toml

* use `@testset` to get nicer test summary
  • Loading branch information
aviatesk authored Mar 20, 2024
1 parent e0e34be commit 55e33d0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ deps/build.log
docs/build/
test/results.md
Manifest.toml
Manifest-*.toml
!/test/code_coverage/coverage_example.jl.cov
19 changes: 9 additions & 10 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ using JuliaInterpreter
using Test
using Logging


@test isempty(detect_ambiguities(JuliaInterpreter, Base, Core))

if !isdefined(@__MODULE__, :read_and_parse)
Expand All @@ -12,14 +11,14 @@ end
Core.eval(JuliaInterpreter, :(debug_mode() = true))

@testset "Main tests" begin
include("check_builtins.jl")
include("core.jl")
include("interpret.jl")
include("toplevel.jl")
include("limits.jl")
include("eval_code.jl")
include("breakpoints.jl")
@static VERSION >= v"1.8.0-DEV.370" && include("code_coverage/code_coverage.jl")
@testset "check_bulitins.jl" begin include("check_builtins.jl") end
@testset "core.jl" begin include("core.jl") end
@testset "interpret.jl" begin include("interpret.jl") end
@testset "toplevel.jl" begin include("toplevel.jl") end
@testset "limits.jl" begin include("limits.jl") end
@testset "eval_code.jl" begin include("eval_code.jl") end
@testset "breakpoints.jl" begin include("breakpoints.jl") end
@static VERSION >= v"1.8.0-DEV.370" && @testset "code_coverage/code_coverage.jl" begin include("code_coverage/code_coverage.jl") end
remove()
include("debug.jl")
@testset "debug.jl" begin include("debug.jl") end
end

0 comments on commit 55e33d0

Please sign in to comment.