Skip to content

Commit

Permalink
Add basic testing infrastructure
Browse files Browse the repository at this point in the history
  • Loading branch information
sloede committed Jan 16, 2024
1 parent e33a485 commit f7e017e
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/Project.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[deps]
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[compat]
Test = "1"
6 changes: 6 additions & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
using Test

@time @testset verbose=true showtiming=true "TrixiBase.jl tests" begin
include("test_dummy.jl")
end

14 changes: 14 additions & 0 deletions test/test_dummy.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
module TestDummy

using Test
using TrixiBase

@testset verbose=true showtiming=true "test_dummy.jl" begin

@testset verbose=true showtiming=true "greet" begin
@test_nowarn TestDummy.greet()
end

end # @testset "test_dummy.jl"

end # module

0 comments on commit f7e017e

Please sign in to comment.