Skip to content

Commit

Permalink
Moving to TestItems
Browse files Browse the repository at this point in the history
  • Loading branch information
lrnv committed Mar 22, 2024
1 parent bae8854 commit def4aee
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 6 deletions.
3 changes: 2 additions & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ julia = "1.6"

[extras]
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
TestItemRunner = "f8b46487-2199-4994-9208-9a1283c18c0a"

[targets]
test = ["Test"]
test = ["Test", "TestItemRunner"]
7 changes: 2 additions & 5 deletions test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
using NetSurvival
using Test
using TestItemRunner

@testset "NetSurvival.jl" begin
# Write your tests here.
end
@run_package_tests
10 changes: 10 additions & 0 deletions test/sampletest.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# This file could be removed =, but here is a sample test:

@testitem "trivial test" begin
@test true
end


@testitem "trivial test 2" begin
@test 1==1
end

0 comments on commit def4aee

Please sign in to comment.