diff --git a/Project.toml b/Project.toml index aae951a..909db39 100644 --- a/Project.toml +++ b/Project.toml @@ -9,18 +9,18 @@ StaticArrayInterface = "0d7ed370-da01-4f52-bd93-41d350b8b718" [compat] AllocCheck = "0.2" -Pkg = "1" PrecompileTools = "1.0.1" SafeTestsets = "0.1" +SciMLTesting = "1" StaticArrayInterface = "1.2.1" Test = "1" julia = "1.10" [extras] AllocCheck = "9b6a8646-10ed-4001-bbdc-1d2f46dfbb1a" -Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f" SafeTestsets = "1bc83da4-3b8d-516f-aca4-4fe02f6d838f" +SciMLTesting = "09d9d899-5365-40a9-917a-5f67fddea283" Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" [targets] -test = ["AllocCheck", "Test", "SafeTestsets", "Pkg"] +test = ["AllocCheck", "Test", "SafeTestsets", "SciMLTesting"] diff --git a/test/qa/Project.toml b/test/qa/Project.toml index 34f1662..5157283 100644 --- a/test/qa/Project.toml +++ b/test/qa/Project.toml @@ -3,6 +3,8 @@ Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595" EllipsisNotation = "da5c29d0-fa7d-589e-88eb-ea29b0a81949" ExplicitImports = "7d51a73a-1435-4ff3-83d9-f097790105c7" JET = "c3a54625-cd67-489e-a8e7-0a5a0ff4e31b" +SafeTestsets = "1bc83da4-3b8d-516f-aca4-4fe02f6d838f" +SciMLTesting = "09d9d899-5365-40a9-917a-5f67fddea283" Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" [sources] @@ -12,5 +14,7 @@ EllipsisNotation = {path = "../.."} Aqua = "0.8" ExplicitImports = "1.6" JET = "0.9, 0.10, 0.11" +SafeTestsets = "0.0.1, 0.1" +SciMLTesting = "1" Test = "1" julia = "1.10" diff --git a/test/explicit_imports.jl b/test/qa/explicit_imports.jl similarity index 100% rename from test/explicit_imports.jl rename to test/qa/explicit_imports.jl diff --git a/test/qa.jl b/test/qa/qa.jl similarity index 100% rename from test/qa.jl rename to test/qa/qa.jl diff --git a/test/runtests.jl b/test/runtests.jl index 06bc432..a18a7cc 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -1,20 +1,2 @@ -using SafeTestsets - -const GROUP = get(ENV, "GROUP", "All") - -if GROUP == "All" || GROUP == "Core" - @time @safetestset "Basic Tests" include("basic.jl") - @time @safetestset "Generic Tests" include("more_generic.jl") - @time @safetestset "Cartesian Tests" include("cartesian.jl") - @time @safetestset "Allocation Tests" include("alloc_tests.jl") -end - -if GROUP == "All" || GROUP == "QA" - using Pkg - Pkg.activate(joinpath(@__DIR__, "qa")) - Pkg.develop(path = joinpath(@__DIR__, "..")) - Pkg.instantiate() - @time @safetestset "Quality Assurance" include("qa.jl") - @time @safetestset "Explicit Imports" include("explicit_imports.jl") - @time @safetestset "JET" include(joinpath("qa", "jet.jl")) -end +using SciMLTesting +run_tests()