From d21bbe7f6d60b9d06639cb848323ef5113be8949 Mon Sep 17 00:00:00 2001 From: ChrisRackauckas-Claude Date: Fri, 10 Jul 2026 16:21:23 -0400 Subject: [PATCH 1/5] Use SciMLTesting API docs QA Co-Authored-By: Chris Rackauckas --- test/qa/Project.toml | 3 ++- test/qa/public_api_docs.jl | 17 ----------------- test/qa/qa.jl | 5 ++--- 3 files changed, 4 insertions(+), 21 deletions(-) delete mode 100644 test/qa/public_api_docs.jl diff --git a/test/qa/Project.toml b/test/qa/Project.toml index 39769c5..f9c1570 100644 --- a/test/qa/Project.toml +++ b/test/qa/Project.toml @@ -8,11 +8,12 @@ Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" [sources] PoissonRandom = {path = "../.."} +SciMLTesting = {url = "https://github.com/SciML/SciMLTesting.jl", rev = "a5cecca928f2c684c23505c3cd83921d71753e2e"} [compat] Aqua = "0.8" JET = "0.9, 0.10, 0.11" SafeTestsets = "0.1, 1" -SciMLTesting = "1.6" +SciMLTesting = "2.1" Test = "1" julia = "1.10" diff --git a/test/qa/public_api_docs.jl b/test/qa/public_api_docs.jl deleted file mode 100644 index ee5beab..0000000 --- a/test/qa/public_api_docs.jl +++ /dev/null @@ -1,17 +0,0 @@ -using PoissonRandom -using Test - -@testset "public API documentation" begin - public_names = filter(!=(:PoissonRandom), names(PoissonRandom; all = false, imported = false)) - @test Set(public_names) == Set([:PassthroughRNG, :pois_rand]) - - for name in public_names - binding = Docs.Binding(PoissonRandom, name) - @test Docs.hasdoc(binding) - end - - api_page = read(joinpath(pkgdir(PoissonRandom), "docs", "src", "pois_rand.md"), String) - for name in public_names - @test occursin(string(name), api_page) - end -end diff --git a/test/qa/qa.jl b/test/qa/qa.jl index 2b749a9..c0210b8 100644 --- a/test/qa/qa.jl +++ b/test/qa/qa.jl @@ -1,10 +1,9 @@ -using SciMLTesting, PoissonRandom, JET, Test - -include("public_api_docs.jl") +using SciMLTesting, PoissonRandom, JET run_qa( PoissonRandom; explicit_imports = true, + api_docs_kwargs = (; rendered = true), ei_kwargs = (; # default_rng / rng_native_52 are Random stdlib internals (not public in # Random): default_rng is the standard default-RNG accessor; rng_native_52 is From ff1b468974b20edc0aacc361561eb8b646f87fb1 Mon Sep 17 00:00:00 2001 From: ChrisRackauckas-Claude Date: Fri, 10 Jul 2026 19:15:08 -0400 Subject: [PATCH 2/5] Pin SciMLTesting v2.1 for QA Co-Authored-By: Chris Rackauckas --- Project.toml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Project.toml b/Project.toml index 825f6f8..267df00 100644 --- a/Project.toml +++ b/Project.toml @@ -7,6 +7,9 @@ LogExpFunctions = "2ab3a3ac-af41-5b50-aa03-7779005ae688" PrecompileTools = "aea7be01-6a6a-4083-8856-8a6e6704d82a" Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" +[sources] +SciMLTesting = {url = "https://github.com/SciML/SciMLTesting.jl", rev = "a5cecca928f2c684c23505c3cd83921d71753e2e"} + [compat] AllocCheck = "0.2" Aqua = "0.8" @@ -17,7 +20,7 @@ LogExpFunctions = "0.3.14, 1.0" PrecompileTools = "1.2.0" Random = "1.10" SafeTestsets = "0.1, 1" -SciMLTesting = "1" +SciMLTesting = "2.1" Statistics = "1" Test = "1" julia = "1.10" From 3258dbe5545d9a400a6730975034a3d8f37c8486 Mon Sep 17 00:00:00 2001 From: ChrisRackauckas-Claude Date: Fri, 10 Jul 2026 22:03:26 -0400 Subject: [PATCH 3/5] Use SciMLTesting release for QA docs Co-Authored-By: Chris Rackauckas --- Project.toml | 9 ++++----- test/qa/Project.toml | 1 - test/runtests.jl | 6 ++++++ 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/Project.toml b/Project.toml index 267df00..8ca8ead 100644 --- a/Project.toml +++ b/Project.toml @@ -7,9 +7,6 @@ LogExpFunctions = "2ab3a3ac-af41-5b50-aa03-7779005ae688" PrecompileTools = "aea7be01-6a6a-4083-8856-8a6e6704d82a" Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" -[sources] -SciMLTesting = {url = "https://github.com/SciML/SciMLTesting.jl", rev = "a5cecca928f2c684c23505c3cd83921d71753e2e"} - [compat] AllocCheck = "0.2" Aqua = "0.8" @@ -17,10 +14,11 @@ Distributions = "0.25" ExplicitImports = "1.14.0" JET = "0.9, 0.10, 0.11" LogExpFunctions = "0.3.14, 1.0" +Pkg = "1" PrecompileTools = "1.2.0" Random = "1.10" SafeTestsets = "0.1, 1" -SciMLTesting = "2.1" +SciMLTesting = "1" Statistics = "1" Test = "1" julia = "1.10" @@ -31,10 +29,11 @@ Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595" Distributions = "31c24e10-a181-5473-b8eb-7969acd0382f" ExplicitImports = "7d51a73a-1435-4ff3-83d9-f097790105c7" JET = "c3a54625-cd67-489e-a8e7-0a5a0ff4e31b" +Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f" SafeTestsets = "1bc83da4-3b8d-516f-aca4-4fe02f6d838f" SciMLTesting = "09d9d899-5365-40a9-917a-5f67fddea283" Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2" Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" [targets] -test = ["AllocCheck", "Aqua", "Statistics", "Test", "Distributions", "JET", "ExplicitImports", "SafeTestsets", "SciMLTesting"] +test = ["AllocCheck", "Aqua", "Statistics", "Test", "Distributions", "JET", "ExplicitImports", "Pkg", "SafeTestsets", "SciMLTesting"] diff --git a/test/qa/Project.toml b/test/qa/Project.toml index f9c1570..e477287 100644 --- a/test/qa/Project.toml +++ b/test/qa/Project.toml @@ -8,7 +8,6 @@ Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" [sources] PoissonRandom = {path = "../.."} -SciMLTesting = {url = "https://github.com/SciML/SciMLTesting.jl", rev = "a5cecca928f2c684c23505c3cd83921d71753e2e"} [compat] Aqua = "0.8" diff --git a/test/runtests.jl b/test/runtests.jl index a18a7cc..3907163 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -1,2 +1,8 @@ +if get(ENV, "GROUP", "All") == "QA" + import Pkg + Pkg.activate(joinpath(@__DIR__, "qa")) + Pkg.instantiate() +end + using SciMLTesting run_tests() From bd699ca2081f0213e665d21ba586f1b2d064dd61 Mon Sep 17 00:00:00 2001 From: ChrisRackauckas-Claude Date: Sat, 11 Jul 2026 00:39:10 -0400 Subject: [PATCH 4/5] Use SciMLTesting v2.1 test runner Co-Authored-By: Chris Rackauckas --- Project.toml | 6 ++---- test/qa/Project.toml | 2 +- test/runtests.jl | 6 ------ 3 files changed, 3 insertions(+), 11 deletions(-) diff --git a/Project.toml b/Project.toml index 8ca8ead..1a2e4e6 100644 --- a/Project.toml +++ b/Project.toml @@ -14,11 +14,10 @@ Distributions = "0.25" ExplicitImports = "1.14.0" JET = "0.9, 0.10, 0.11" LogExpFunctions = "0.3.14, 1.0" -Pkg = "1" PrecompileTools = "1.2.0" Random = "1.10" SafeTestsets = "0.1, 1" -SciMLTesting = "1" +SciMLTesting = "2.1" Statistics = "1" Test = "1" julia = "1.10" @@ -29,11 +28,10 @@ Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595" Distributions = "31c24e10-a181-5473-b8eb-7969acd0382f" ExplicitImports = "7d51a73a-1435-4ff3-83d9-f097790105c7" JET = "c3a54625-cd67-489e-a8e7-0a5a0ff4e31b" -Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f" SafeTestsets = "1bc83da4-3b8d-516f-aca4-4fe02f6d838f" SciMLTesting = "09d9d899-5365-40a9-917a-5f67fddea283" Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2" Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" [targets] -test = ["AllocCheck", "Aqua", "Statistics", "Test", "Distributions", "JET", "ExplicitImports", "Pkg", "SafeTestsets", "SciMLTesting"] +test = ["AllocCheck", "Aqua", "Statistics", "Test", "Distributions", "JET", "ExplicitImports", "SafeTestsets", "SciMLTesting"] diff --git a/test/qa/Project.toml b/test/qa/Project.toml index e477287..7890d6d 100644 --- a/test/qa/Project.toml +++ b/test/qa/Project.toml @@ -7,7 +7,7 @@ SciMLTesting = "09d9d899-5365-40a9-917a-5f67fddea283" Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" [sources] -PoissonRandom = {path = "../.."} +PoissonRandom = {path = "/home/crackauc/sandbox/tmp_20260708_051717_3275/repos/PoissonRandom.jl"} [compat] Aqua = "0.8" diff --git a/test/runtests.jl b/test/runtests.jl index 3907163..a18a7cc 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -1,8 +1,2 @@ -if get(ENV, "GROUP", "All") == "QA" - import Pkg - Pkg.activate(joinpath(@__DIR__, "qa")) - Pkg.instantiate() -end - using SciMLTesting run_tests() From 0727b3466ef26baae1752b8739a42fa184d97018 Mon Sep 17 00:00:00 2001 From: ChrisRackauckas-Claude Date: Sat, 11 Jul 2026 00:53:33 -0400 Subject: [PATCH 5/5] Remove redundant test package sources Co-Authored-By: Chris Rackauckas --- test/qa/Project.toml | 3 --- 1 file changed, 3 deletions(-) diff --git a/test/qa/Project.toml b/test/qa/Project.toml index 7890d6d..25c9bab 100644 --- a/test/qa/Project.toml +++ b/test/qa/Project.toml @@ -6,9 +6,6 @@ SafeTestsets = "1bc83da4-3b8d-516f-aca4-4fe02f6d838f" SciMLTesting = "09d9d899-5365-40a9-917a-5f67fddea283" Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" -[sources] -PoissonRandom = {path = "/home/crackauc/sandbox/tmp_20260708_051717_3275/repos/PoissonRandom.jl"} - [compat] Aqua = "0.8" JET = "0.9, 0.10, 0.11"